How to set java jframe in the middle screen


In your jframe class constructor  write......

this.setLocationRelativeTo(null);

No comments:

Post a Comment