Update MainFrame.java

Second pull request