• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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 an 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);}
 
reply
    Bookmark Topic Watch Topic
  • New Topic