Change frame/titlebar color of JInternalFrame

Well hi,

I've only just become a member of Expert Exchange and I'm a student for the Information Engineering education. My special interest (and goal for expertise in the future) is Java programming. Now I've got this thing I've been searching for on the net, but can't find it. I'd really like to know if it's possible to change the color of a standard JInternalFrame inside a JDesktopPane. Its default color (Windows XP look-and-feel) is blue, but I'd like it to be green.
Is there a class/method to do so, or do I have to (in some way) create my own look-and-feel for it?

Any help and/or directions much appreciated.

// Yuthura
YuthuraAsked:
Who is Participating?
 
objectsConnect With a Mentor Commented:
UIManager.put("InternalFrame.activeTitleBackground", mycolor1);
UIManager.put("InternalFrame.inactiveTitleBackground", mycolor2);
0
 
sudhakar_koundinyaCommented:
I think setUI and UpdateUI will help you

Best Regards
Sudhakar
0
 
YuthuraAuthor Commented:
Thanx guys, u helpt me out indeed.

Hopefully I can proof useful to others in the future as well.

Greetz,

// Yuthura
0
 
objectsCommented:
thanks mate :)
0
 
YuthuraAuthor Commented:
No prop.

Sorry it took so long, was on a holliday and forgot about it :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.