Necesito colocar JFrame en mi pantalla. Pero no puedo hacer que aparezcan en el lado derecho de la pantalla inferior.Posición en la parte inferior derecha de la pantalla
Por favor alguien me puede explicar cómo colocarlos, 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);
Algunas plataformas limitan esto, como se menciona [aquí] (http://stackoverflow.com/a/2188981/230513). – trashgod