It is no longer a rooftop with open space and great views where music or ballet students could sunbathe, if they managed to sneak up there without setting off an alarm.

It still has the great views and the alarm. But in the last couple of weeks, the roof of the building at Lincoln Center that houses the Juilliard School’s students and the School of American Ballet has had the look of a construction site. Heavy, slablike parts were hauled in. Electricians put in long hours running wires to control boxes.

And more than 900 square feet of what had been empty space was covered by solar panels that will convert sunlight to electrical current.

Lincoln Center officials say the 36 solar panels — on the roof of the Rose Building, on West 65th Street between Broadway and Amsterdam Avenue — represent another step in their campaign to go green. They announced a deal in 2012 to supply electricity generated by wind power equal to most of the buildings at Lincoln Center and the central plant that heats and cools them. (No, there are no wind turbines whirling above Lincoln Center; it buys power from a company that supplies wind-generated electricity to the conventional commercial power grid.)