aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes hot to change the icon at title bar? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "hot to change the icon at title bar?" Watch "hot to change the icon at title bar?" New topic
Author

hot to change the icon at title bar?

ali rafiq
Ranch Hand

Joined: Jan 09, 2003
Posts: 75
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,,


if u learn to break the rock .. next day u will be looking to Mountain.
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

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...


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: hot to change the icon at title bar?