JWindow: setLocation(int x, int y)
import javax.swing.JWindow;
public class MainClass {
public static void main(String[] args) {
JWindow w = new JWindow( );
w.setSize(300, 300);
w.setLocation(500, 100);
w.setVisible(true);
}
}
Related examples in the same category