jframe set location center of screen 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);
}