Description:

JnlpMultiView adds support for JNLP files, also know as Java Web Start, to NetBeans. It includes File Templates which you can access over 'New File...' and a visual editor like the one know from Web Projects for web.xml files. The visual editor shows you tooltips if you move with the mouse over the components, so you don't need to browse the Java Deployment Guide if unsure about one tag.

To run JnlpMultiView you need NetBeans 5.0 and J2SE 1.4 or above.

Feel free to contact me if you have ideas or problems with the module.

Installation:

  1. Click here to download the NetBeans Module file (*.nbm).
  2. Start NetBeans and go in the menu to Tools -> Update Center.
  3. Select "Install Manually Downloaded Modules (.nbm Files).".
  4. Press "Add" and choose "org-netbeans-modules-jnlpmultiview.nbm".
  5. Press three time "Next".
  6. Select "Include" Checkbox by "Modules to Install" Table and Finish.

Updates /Addional information after install:

The installation adds my Update Center and over it, you can get and install updates easily. You can find it under Tools -> Update Center. It is called "Christopher Atlans Update Center".

Todo

License and Source

The source will be available soon. I am current searching a place to host it, I think about netbeans.org or java.net. So the license will may be SPL or GPL.

Screenshots

Visual editor XML Code
The root element of a JNLP File and all possible attributes.
spec <?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.5+" codebase="$$codebase" href="$$name">
  ...
</jnlp>
In the informations section you can set the title, vendor, the three desctions and so on.
information <information>
  <title>Demo</title>
  <vendor>Demo-Vendor</vendor>
  <description>Show JnlpMultiView in action </description>
  <homepage href="index.html"/>
  <icon href="icon.png"/>
  <offline-allowed/>
  <shortcut online="false">
    <desktop/>
    <menu submenu="My Corporation Apps"/>
  </shortcut>

</information>
The resources view show you mostly every optione you can set: j2se, jar, nativelib, extension and property.
resources <resources>
  <j2se version="1.5+" initial-heap-size="64m" max-heap-size="128m" />
  <jar href="test.jar"/>
  <extension href="lib/activator.jnlp"/>
  <property name="apple.awt.brushMetalLook" value="true"/>
  <property name="apple.laf.useScreenMenuBar" value="true"/>
</resources>
Here you can switch the security needs of your application.
security <security>
  <all-permissions/>
</security>

or:
<security>
   <j2ee-application-client-permissions/>
</security>
Application-desc and arguments for the application.
application <application-desc main-class="com.test.Main">
  <argument>argument1</argument>
  <argument>argument2</argument>
  <argument>argument2</argument>
</application-desc>
For a migration from Applets to Java Web Start the applet-desc tag and his children.
applet <applet-desc
    main-class="com.applet.Main"
    documentbase="documentbase"
    name="name"
    width="123"
    height="456">
  <param name="name1" value="value1"/>
  <param name="name2" value="value2"/>
  <param name="name2" value="value3"/>
</applet-desc>
Valid XHTML 1.0 Transitional Created with NetBeans!