Update and rename aa.java to Main.java

Refactored so names of classes are meaningful.
JFrame.setVisible() method should always be called last. Probably the issue here.