0
Q:

open jframe in center of screen

add this after setbounds

setLocationRelativeTo(null);
0
Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
this.setLocation(dim.width/2-this.getSize().width/2, dim.height/2-this.getSize().height/2);
0

New to Communities?

Join the community