Switching frame to panel

^^^attempting to atleast