Update statePanel.java