commit current state of MainFrame.java