[RESOLVIDO] JFrame no canto inferior direito da tela - Java

Alguém sabe como deixar o JFrame no canto inferior da tela? Eu consegui setando a posição, mas isso vai variar de acordo com o monitor da pessoa… Segue meu código:

public class Notifica extends javax.swing.JFrame {

    int JWindowHEIGHT = 600;
    int JWindowWIDTH = 600;

    public Notifica() {
        initComponents();
        getScreenSize();
        this.setLocationRelativeTo(null);
        this.setLocation(getScreenSize().width - JWindowWIDTH, getScreenSize().height - JWindowHEIGHT);
        
    }

    private Dimension getScreenSize() {
        GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
        Rectangle rect = ge.getMaximumWindowBounds();
        return new Dimension(rect.width, rect.height);
    }

Consegui.

private void display() {
    Notifica f = new Notifica();
    f.pack();
    GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    GraphicsDevice defaultScreen = ge.getDefaultScreenDevice();
    Rectangle rect = defaultScreen.getDefaultConfiguration().getBounds();
    int x = (int) rect.getMaxX() - f.getWidth();
    int y = (int) rect.getMaxY() - f.getHeight();
    f.setLocation(x, y);
    f.setVisible(true);
}

Aí na hora de chamar o JFrame:

...........................
        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Notifica().display(); //Ao inves de usar o "setVisible(true), usa o "display();"
            }
        });
    }