Before installing the glass panels, prepare the cabinet frames by cleaning and sanding them if necessary. Remove any dirt, grease, or old paint from the frames to ensure a smooth surface for the glass installation. If the frames are damaged, repair them before proceeding.