File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Changing border color in JOptionPane" Watch "Changing border color in JOptionPane" New topic
Author

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.

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Changing border color in JOptionPane
 
Similar Threads
java alert
<identifier> expected?
Change Swing Component Subclass
Color of JOptionPane
Problem with JButton setBorderPainted Method