Top.Mail.Ru
August 3rd, 2006 - Java developers — LiveJournal
? ?

Java developers

August 3rd, 2006
Image

11:30 am - Imagechris61182 - JOptionPane and Look and Feels

I've encountered a strange error, I'm trying to use JOptionPane.showMessageDialog(....) with the native WindowsXP look and feel. The message and the accept button don't show up. Though it works fine with the Metal look and feel.

Is there a way to force a single component to use a specific look and feel? I'd like to have the JOptionPane use the Metal look and feel, while the rest of my application continue to use the native look and feel.
Powered by LiveJournal.com
Image