• Post Reply Bookmark Topic Watch Topic
  • New Topic

loading an image into a frame  RSS feed

 
Paul Bailey
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I get an image into my Frame? I want it to be the icon image.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SetIconImage(Toolkit.getDefaultToolkit().getImage("somepath/someimage.gif"));
[This message has been edited by Bodie Minster (edited December 01, 2000).]
 
Paul Bailey
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot, that worked.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Always happy to help.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!