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 Changing border color in JOptionPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Changing border color in JOptionPane" Watch "Changing border color in JOptionPane" New topic

Changing border color in JOptionPane

Barry Brashear
Ranch Hand

Joined: Jun 05, 2001
Posts: 303
Is it possible to override the paint method and change the border color of
a JOptionPane and if so how would you do that? I know you can obtain the
JDialog of a JOptionPane using the createDialog method.

I agree. Here's the link:
subject: Changing border color in JOptionPane
It's not a secret anymore!