0

I can set the title bar background when maximised using InternalFrame.activeTitleBackground and InternalFrame.inactiveTitleBackground but how do I set it when the internal frame is minimised?

citronic
  • 9,868
  • 14
  • 51
  • 74
  • Post some code to make it easier for us to follow. I'm not sure what you mean. You want to change the background-color of an InternalFrame, when it's minimized? – Frederik Wordenskjold Feb 10 '10 at 11:02
  • background color of an InternalFrame's title bar, when it's minimised. Setting the above lnf properties will change the color when it's maximised. – citronic Feb 10 '10 at 11:04

1 Answers1

1

There is no easy solution. The frame colors are part of the UI, so you will need to create a custom UI to do what you want. You can start by searching the Java source code to see where the "activeTitleBackground" and "inactiveTitleBackground" properties are used. That will give you an idea of the class and method that needs to be customized.

camickr
  • 321,443
  • 19
  • 166
  • 288