java windows application code example Example: create java windows application yourFrame yourvariable = new yourFrame(); yourvariable.setVisible(true);