Update MainFrame.java

Fixing gui