File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes How to set an icon to jnlp window? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to set an icon to jnlp window?" Watch "How to set an icon to jnlp window?" New topic
Author

How to set an icon to jnlp window?

drj more
Greenhorn

Joined: Sep 09, 2007
Posts: 2
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
Bartender

Joined: Oct 14, 2005
Posts: 18115
    
    8

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

Joined: Feb 10, 2008
Posts: 179

you can actually check out this example


-kolli
Olivier Legat
Ranch Hand

Joined: Nov 17, 2007
Posts: 176

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.


Olly
drj more
Greenhorn

Joined: Sep 09, 2007
Posts: 2
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 .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set an icon to jnlp window?
 
Similar Threads
Specify JNLP applet icon
setting the frame icon to JDialog windows
The splash image of webstart lost its color and resolution
Specify desktop icon
Web start problem