Removed obselete methods from MainForm.java