I used WindowsLookAndFeel for my application. Now I need to use MetalLookAndFeel for a new class with in the application. How can I change to new LookAndFeel? I tried UIManager.setLookAndFeel method. But It keeps the WindowsLookAndFeel, not changing to MetalLookAndFeel.
Makesh<br /> <br />SCJP | SCWCD | SCBCD | SCEA
posted 8 years ago
sounds like the windowsLookAndFeel is being set later in your code
use your ide's edit/find to search for the L&F name, or (possibly) for SwingUtilities.updateComponentTreeUI //if L&F set after components created