Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JInternalFrames TitleBar color

 
Casen Densmore
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How in the heck do you change the color of a selected titlebar in a jinternalframe. I have serioulsy looked EVERYWHERE. I have tried changing the l&f using UIManager.put but I must be using the wrong name because it won't change, and I have tried many many different names.
Anyone know a way to change it? And if you do use UIManager can you specify the name of the object please?
Thanks,
Casen
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For some weird reason, messing with UIManager values doesn't affect internal frames in Metal look and feel, but does in Motif and Windows. However, internal frames are affected by setting themes.
 
Casen Densmore
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is what I was looking for, thanks!
Casen
 
Die Fledermaus does not fear such a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!