Creating a desktop icon using JWS JNLP for a JavaFX app.

Posted by Sleepycat on Stack Overflow See other posts from Stack Overflow or by Sleepycat
Published on 2010-01-17T09:24:34Z Indexed on 2010/04/04 20:03 UTC
Read the original article Hit count: 326

Filed under:
|
|

I am trying to get a custom destop icon to be displayed for my app but for some reason no matter what I do the same default java icon shows up. I have tried everything I can think of and gone and compared my jnlp file with others whose icons seem to work ok. According to everything I have read the following should work fine. But of course, it doesn't:

<information>
    <title>MikesApp</title>
    <vendor>Mike</vendor>
    <homepage href="http://www.mikesapp.com/"/>
    <description>Mikes App.</description>
    <icon kind="shortcut" href="res/icon64x64.png" width="64" height="64"/>
    <offline-allowed/>
    <shortcut>
        <desktop/>
    </shortcut>
</information>

Any ideas would be greatly appreciated.

© Stack Overflow or respective owner

Related posts about java

Related posts about javafx