Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();this.setSize(screenSize);this.setLocation(0,0);