JFrame window=new JFrame(); window.setSize(1000,666); window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); window.setTitle("Whats up Nerd"); window.setVisible(true);