Update Main.java

added how to get icon