#2 Code + interface Java Swing