Use PanelFactory to control panels.