Posición en pantalla derecha inferior

Necesito posicionar JFrame en mi pantalla. Pero no puedo hacer que aparezcan en el lado derecho de la parte inferior de la pantalla.

¿Puede alguien explicarme cómo posicionarlos? Si puede describir cómo hacerlo, sería genial.

Aquí está el código hasta ahora.

    //Gets the screen size and positions the frame left bottom of the screen
    GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    GraphicsDevice defaultScreen = ge.getDefaultScreenDevice();
    Rectangle rect = defaultScreen.getDefaultConfiguration().getBounds();
    int x = (int)rect.getMinX();
    int y = (int)rect.getMaxY()- frame.getHeight();
    frame.setLocation(x ,y - 45);

Respuestas a la pregunta(4)

Su respuesta a la pregunta