Meaningless Drivel is fun!
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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.

wood burning stoves
subject: Changing border color in JOptionPane
It's not a secret anymore!