how to make a jframe always center screen java code example
Example: how to put jframe in center of screen using jframe properties
public frame() {
initComponents();
this.setLocationRelativeTo(null);
}
public frame() {
initComponents();
this.setLocationRelativeTo(null);
}