Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Application Icon  RSS feed

 
Jithesh Kozhipurath
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai friends,
I am not able to change the Icon of my application. I tried
setIconImage(Image image); but its not working. Could any one tellme how to do that
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This should work. How are you loading your image?

Also make sure that the path to your image is correct and nothing is misspelled. No exception will be thrown, you'll just get an empty image.
 
VIJAY Yadlapati
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got the same problem some time back - because the Image is big in size.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!