Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4625362
Votes 0
Synopsis Java Web Start does not support *.ico Icon files
Category javawebstart:other
Reported Against 1.0.1
Release Fixed mustang(b24)
State 10-Fix Delivered, request for enhancement
Priority: 3-Medium
Related Bugs
Submit Date 17-JAN-2002
Description


FULL PRODUCT VERSION :
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

FULL OPERATING SYSTEM VERSION :
 customer  Windows 2000 [Version 5.00.2195]




A DESCRIPTION OF THE PROBLEM :
Only JPG or GIF files are supported as Icon images in Java
Web Start JNLP file.  Although when running on Windows
operating system, Web Start converts this icon to an ICO,
you cannot specify an ICO as the source file.

Would greatly like ICO files to be supported by Web Start.

This bug can be reproduced always.
(Review ID: 138431) 
======================================================================
  xxxxx@xxxxx   10/11/04 15:22 GMT
Work Around
N/A
Evaluation
investigate for tiger
  xxxxx@xxxxx   2002-04-25

The specification was changed in 1.5.0 to allow any platform dependant format for icons, so the sub-catagory is changed from spec.  This needs to be implementated in mustang for ico type.
  xxxxx@xxxxx   10/11/04 15:22 GMT
Comments
  
  Include a link with my name & email   

Submitted On 22-AUG-2006
I am using Mustang but still seeing this issue.  I am using
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-beta-b59g)
Java HotSpot(TM) Client VM (build 1.6.0-beta-b59g, mixed mode, sharing)
Eg:-
new ImageIcon(obj.getClass().getResource("abcd.ico"));
The above return null even though the file location is valid.


Submitted On 02-SEP-2006
musheno
If Java is to support *.ico, it should support it for ALL OS's, none, or leave *.ico undefined, thus makeing *.ico files useless/errors on OS's that do not support them!
Todd_Musheno@yahoo.com


Submitted On 14-NOV-2006
ibonaknawibo
why is this a problem? why can you not specify this in the jnlp file as a resource only to windows, jnlp is a very strong and flexible way of deploying java applications, and on the other platforms specify an alternative or cross platform , image format, sorry but like mirosoft or not they are not going to change vista ico format so it works with java, but if java is to look good on the windows vista platform then this needs to work


Submitted On 14-NOV-2006
ibonaknawibo
why is this a problem? why can you not specify this in the jnlp file as a resource only to windows, jnlp is a very strong and flexible way of deploying java applications, and on the other platforms specify an alternative or cross platform , image format, sorry but like mirosoft or not they are not going to change vista ico format so it works with java, but if java is to look good on the windows vista platform then this needs to work


Submitted On 07-AUG-2007
cmarcellino
How does one use said feature? Java does not accept my icons. Are only certain types of .ico's permissible?



PLEASE NOTE: JDK6 is formerly known as Project Mustang