This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Want to change icons for JItnernalFrame...  RSS feed

 
Annie Siddharth
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Is there a way for me to change the icons(minimize, maximize, close) to "normal" window icons for JInternalFrames?
TIA,
Annie
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try changing the Look and Feel of your app to windows by adding these lines to the main() method (or anywhere else before any components actually become visible) -

 
Annie Siddharth
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Nathan for the reply. Indeed I have changed the L&F to windows. That is the reason , the metal type icons are baffling. If I do a minimize or a maximize, the icons turn to "windows" icons. Any ideas?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!