• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Active Title Bar Color

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anyone know how to change the active title bar color of a jinternalframe. I have looked everywhere and the only thing I found was something like...

try
{
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
UIManager.put("activeCaption", new java.awt.Color(255,225,255));
SwingUtilities.updateComponentTreeUI(this);
} catch(Exception e) {System.out.println("Error setting native LAF: " + e);}

I have tried implementing this... its changes the overall L&F but does not change the specific color of the active title bar..


Any Ideas?
Thanks,
X
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic