users@glassfish.java.net

where do i put the icon file?

From: <glassfish_at_javadesktop.org>
Date: Wed, 27 Jun 2007 12:55:17 PDT

I am deploying an application that i launch using webstart.
I read this blog about using custom icons.

http://blogs.sun.com/quinn/entry/specifying_icon_and_splash_images

I am able to get the vendor name, and application name to show up correctly, but i am not able to get the icon to show up. I am guessing i have the icon in the wrong location.

my ear looks like this:

somejar.jar
somejar2.jar
ApplicationClientTest.jar
application.xml
Manifest.mf

my application.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
        <display-name>
        ApplicationClientEarTest</display-name>
        <module id="JavaClientModule_1182950720996">
                <java>ApplicationClientTest.jar</java>
        </module>
</application>


my app client jar looks like this:

logo.gif
com\company\clients\Main.class
meta-inf\application-client.xml
meta-inf\manifest.mf
meta-inf\sun-application-client.xml


my application-client.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<application-client id="Application-client_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd">
        <display-name>
        Style Editor</display-name>
</application-client>


my manifest.mf looks like this:

Manifest-Version: 1.0
Main-Class: com.company.clients.Main

my sun-application-client.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>

<sun-application-client>
    <java-web-start-access>
        <vendor>logo.gif::Bealls, Inc.</vendor>
    </java-web-start-access>
</sun-application-client>


where should the icon be located in the packaging structure????
thanks.
[Message sent by forum member 'derek_111' (derek_111)]

http://forums.java.net/jive/thread.jspa?messageID=224316