Forums Register Login

hot to change the icon at title bar?

+Pie Number of slices to send: Send
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,,
+Pie Number of slices to send: Send
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...
The harder I work, the luckier I get. -Sam Goldwyn So tiny. - this ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1527 times.
Similar Threads
JFrame
Metal Look and Feel of JFrame on Windows XP
Setting icon/image on Title of JOptionPane.showConfirmDialog
JFC
how to customize the title bar of a JInternalFrame
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:39:17.