Update and rename ab.java to MainWindow.java