For as long as the court has set their term - this can extend into their adulthood. Turning 18 does not automatically release them from their juvenile court sentence.
"both of the supreme and inferior Courts, shall hold their Offices during good Behavior, and shall, at stated Times, receive for their Services a Compensation which shall not be diminished during...