Update MainPanel.java