Position « JOptionPane « Java Swing Q&A





1. how to set position of JOptionPane    stackoverflow.com

I'm creating this JOptionPane

JOptionPane.showMessageDialog(this, "File was saved", "Save", 
   JOptionPane.INFORMATION_MESSAGE);
but my JFrame is big so it is scrollable. When I call this command, a window is created in the ...

2. Positioning JOptionPane on the screen    coderanch.com

3. JOptionPane positioning    forums.oracle.com

Hello Is there a minimalist approach to positioning the JOptionPane object when created in the lower left corner? I was going to use Toolkit and tried to get the JOptionPane width and height, but as integers they are just 1 and 2. Even if I create a frame and position the frame to the lower left, I still cant get the ...