Set JInternalFrame Background Color
843806Aug 29 2007 — edited Aug 29 2007Hey Guys!
I've got the following problem. I've a JInternalFrame and I want to simply modify the background color of it, at runtime...
I've tried the following:
setBackground(Color.red);
getGlassPane().setBackground(Color.red);
getContentPane().setBackground(Color.red);
UIManager.put("control", new ColorUIResource(Color.red));
UIManager.put("InternalFrame.background", new ColorUIResource(Color.red));
Nothing changed anything!
Any idea?
Thanks & best regards,
Kristian