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