Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

How to set an icon to jnlp window?

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
Marshal
Posts: 26481
81
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Ranch Hand
Posts: 179
Mac Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can actually check out this example
 
Ranch Hand
Posts: 176
Mac Chrome Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
No, tomorrow we rule the world! With this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic