Java Reference
In-Depth Information
Descriptions
If you want to provide more information about your application for users of Java Web
Start, one or more description elements can be placed inside the information element.
Four kinds of descriptions can be provided using the kind attribute of the description
element:
kind=”one-line” —A succinct one-line description, used in lists of Web Start
applications
n
kind=”short” —A paragraph-long description, used when space is available
n
kind=”tooltip” —A ToolTip description
n
No kind attribute—A default description, used for any other descriptions not speci-
fied
n
All these are optional. Here's an example that provides descriptions for the PageData
application:
<description>The PageData application.</description>
<description kind=”one-line”>An application to learn more about web
servers and pages.</description>
<description kind=”tooltip”>Learn about web servers and
pages.</description>
<description kind=”short”>PageData, a simple Java application that
takes a URL and displays information about the URL and the web
server that delivered it.</description>
Icons
The PageData JNLP file included a 64
×
64 icon, pagedataicon.gif , used in two differ-
ent ways:
When the PageData application is being loaded by Java Web Start, the icon is dis-
played on a window next to the program's name and author.
n
If a PageData icon is added to a user's desktop, the icon will be used at a different
size: 32
n
×
32.
When an application is loading, you can use a second icon element to specify a graphic
that will be displayed in place of the icon, title, and author. This graphic is called the
application's splash screen , and it is specified with the kind=”splash” attribute, as in
this example:
14
<icon kind=”splash” href=”pagedatasplash.gif”/ width=”300” height=”200”>
Search WWH ::




Custom Search