Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hot to change the icon at title bar?

 
ali rafiq
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to change the icon at title bar .. and may i change the also change the three button of minimize, restore, and close button at title bar,,
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
setIconImage( Image ) will let you change the icon that appears in the upper left corner of the frame. You can't mess with the buttons on the right side of the frame... they are provided by the native peer of the frame. So, you'll have to use JNI yourself or a library that provides a modified frame lets you affect this...
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic