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 Customer Requirements for Developers this week in the Jobs Discussion 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
I agree. Here's the link:
subject: Centering JOptionPanes and JDialogs
It's not a secret anymore!