• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
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 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