Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set an icon to jnlp window?

 
drj more
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi javaranchers,
I am new to webstart.I want to know how can i set an icon to jnlp window?Look at following link .
http://www.duckcreeksoftware.com/products/jnlp-wrapper/screenshots/
For the application irfanview there is an icon.
Well,I used <icon>tag of jnlp and successfully have stuff like icon to desktop application,control panel->add/remove progrms etc..My problem is to set an icon to jnlp window...TIA..
 
Paul Clapham
Sheriff
Pie
Posts: 20750
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those are all Swing windows, it just happens that JNLP is the technology used to run them from a web site. So your question is how to set an icon on a Swing window. Let's move this question to Swing, then...
 
Ravikanth kolli
Ranch Hand
Posts: 179
Chrome Eclipse IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can actually check out this example
 
Olivier Legat
Ranch Hand
Posts: 176
Chrome Mac Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Class Frame: public void setIconImage(Image image) can be used to set the icon of Frame or JFrame. Not sure if that's what you're looking for though.
 
drj more
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for such an overwhelming and quick response.I got workaround for it through swings(Class Frame: public void setIconImage(Image image) method).I removed coffee cup icon and placed my application's icon .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic