"The court agreed that my client has taken full responsibility for his conduct," the teen's lawyer, James A. Funt, said after the hearing.
It also agreed, he said, that the 17-year-old's conduct reflected his marijuana addiction.
Smyth will review the case in 60 days and could discharge the teen early from the facility, where he will get drug-addiction treatment so he can start his senior year on time in Lower Merion and apply to colleges, Funt said.
The 17-year-old had attended Lower Merion High School, whose students he was targeting for sales. The teen, who had one prior contact with the court, has been in the county's Youth Center for about eight weeks.
The disposition hearing for a 17-year-old Radnor High School student who admitted to a charge of possessing marijuana with intent to deliver was supposed to have been Friday, but was continued. He is not in the Youth Center.
A disposition hearing is the Juvenile Court equivalent of a sentencing procedure in adult court.
In April, the District Attorney's Office said it had dismantled a nascent drug-trafficking ring that sought customers in high schools along the Main Line and at area colleges. Besides the two juveniles, nine adults were charged.