• Post Reply Bookmark Topic Watch Topic
  • New Topic

Change Icon on JInternalFrame  RSS feed

 
Garandi Garandi
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have extended the JInternalFrame and I called it MyFrame, how to set the icon on top left corner of MyFrame?
I perfer to set the icon inside constructor of MyFrame.

Useful link but I could not use it. because JInternalFrame does not have setIconImage() method.
setting Icon on Frame
Thank you
Garandi
[ August 28, 2003: Message edited by: Garandi Garandi ]
 
Tim Troy
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try setFrameIcon(icon).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!