create java windows application

Java
yourFrame yourvariable = new yourFrame();
yourvariable.setVisible(true);
Source

Also in Java: