File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Centering JOptionPanes and JDialogs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Centering JOptionPanes and JDialogs " Watch "Centering JOptionPanes and JDialogs " New topic

Centering JOptionPanes and JDialogs

Surya Kumar
Ranch Hand

Joined: Aug 21, 2004
Posts: 52
How to center the JOptionPanes and JDialogs. I want them centered on the screen. Any ideas. Thankxs in advance.

Regards<br />Prem<br />SCJP, SCJD, SCWCD, SCBCD, SCEA, SCJDWS
subject: Centering JOptionPanes and JDialogs
Similar Threads
Swing/Oracle app crashing vm on Mac OSX
Centering JOptionPanes and JDialogs
how many screens look anf Feel....
JFrame with multiple DialogBoxes
the term modal