Added PaneController to controll the JPanels