Update Main.java

JFrame.show is deprecated