Use jV applet with applet launcher

From jV
(Redirected from Use jV with applet launcher)
Jump to: navigation, search

Note: Use jV applet with object tag is more preferable.

A brief introduction to use jV in applet with applet-launcher.


One way to use jV applet is to use with applet-launcher. jV after v3.6 is fully compatible with applet-launcher.

  hspace="0" vspace="0" align="middle"
  name="jVwindow" height="600" width="600"
<!-- param for applet-launcher -->
  <param name="subapplet.classname" value="org.pdbj.viewer.gui.ViewerApplet">
  <param name="subapplet.displayname" value="jV applet">
  <param name="noddraw.check" value="true"/>
  <param name="noddraw.check.silent" value="true"/>
  <param name="java_arguments" value="-Dsun.java2d.noddraw=true"/>
  <param name="progressbar" value="true"/>
  <param name="jnlpNumExtensions" value="1"/>
  <param name="jnlpExtension1"
<!-- param for jV -->
   <!-- replace the following with an appropriate URL -->
  <param name="pdbmlURL" value="">
  <param name="commands" value="cartoon;color group">

Upper part is almost same as the usual usage of applet launcher. See the applet-launcher page for details. Notice, however, that we specify org.pdbj.viewer.gui.GLInitJNLPAppletLauncher class to the code attribute rather than org.jdesktop.applet.util.JNLPAppletLauncher class to avoid an initialization problem. The latter part is for jV parameters.

Only the bold face part is specific for jV.