ControlPanel.java fixed