Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6910220

Custom progress bar is not launched for applet, when both main and extension JNLP refer Custom Class

XMLWordPrintable

    • generic
    • generic

      DESCRIPTION:
      When the progress-class attribute is specified in both main JNLP as well as the extension JNLP, Custom Progress bar is not launched, instead the default Java splash screen is displayed in the applet area before launch of the applet.

      Main JNLP content:
      --------------------------------------------------------------------------------------
      <?xml version="1.0" encoding="UTF-8"?>
      <jnlp codebase="." href="custom_bothall_extension.jnlp">
      <information>
      <title>Custom Progress, Main JNLP</title>
      <vendor>Sun Microsystems</vendor>
      <description>Both Custom Progress jar and class in the extension as well as main JNLP</description>
      <offline-allowed/>
      </information>
      <update check="background"/>
      <resources>
      <jar href="../classes/TestApplet.jar"/>
      <extension href="extension_progress_bothall.jnlp"/>
      <jar href="CustomProgress.jar" />
      <jar href="http://web-east.east/www/tests/javaws/generic/stress/h20.jar" />
      <jar href="http://web-east.east/www/tests/javaws/generic/stress/h21.jar" />
      <jar href="http://web-east.east/www/tests/javaws/generic/stress/h22.jar" />
      <jar href="http://web-east.east/www/tests/javaws/generic/stress/h23.jar" />
      <jar href="http://web-east.east/www/tests/javaws/generic/stress/h24.jar" />
      <jar href="http://web-east.east/www/tests/javaws/generic/stress/h25.jar" />
      <jar href="http://web-east.east/www/tests/javaws/generic/stress/h26.jar" />
      <jar href="http://web-east.east/www/tests/javaws/generic/stress/h27.jar" />
      <jar href="http://web-east.east/www/tests/javaws/generic/stress/h28.jar" />
      <j2se version="1.5+"/>
      </resources>
      <applet-desc main-class="SimpleApplet" name="testApplet" height=200 width=400 progress-class="CustomProgress" />
      </jnlp>
      --------------------------------------------------------------------------------------

      Extension JNLP content:
      --------------------------------------------------------------------------------------
      <?xml version="1.0" encoding="UTF-8"?>
      <jnlp codebase="." href="extension_progress_bothall.jnlp">
      <information>
      <title>Custom Progress, extension JNLP</title>
      <vendor>Sun Microsystems</vendor>
      <description>Both Custom Progress jar and class in the extension as well as main JNLP</description>
      <offline-allowed/>
      </information>
      <resources>
      <jar href="CustomProgress.jar" />
      <jar href="http://web-east.east/www/tests/javaws/generic/stress/h20.jar" />
              <jar href="http://web-east.east/www/tests/javaws/generic/stress/h21.jar" />
              <jar href="http://web-east.east/www/tests/javaws/generic/stress/h22.jar" />
              <jar href="http://web-east.east/www/tests/javaws/generic/stress/h23.jar" />
              <jar href="http://web-east.east/www/tests/javaws/generic/stress/h24.jar" />
              <jar href="http://web-east.east/www/tests/javaws/generic/stress/h25.jar" />
      <j2se version="1.5+"/>
      </resources>
      <component-desc progress-class="CustomProgress" />
      </jnlp>
      --------------------------------------------------------------------------------------



      PLATFORM TESTED:
      Windows XP, LINUX

      JAVA VERSION:
      java version "1.6.0_18-ea"
      Java(TM) SE Runtime Environment (build 1.6.0_18-ea-b05)
      Java HotSpot(TM) Client VM (build 16.0-b12, mixed mode, sharing)

      TESTCASE:
      http://sqindia.india.sun.com/disk17/deployment/subrata/dev_6UR_int_ws/deployment/src/plugin/CustomProgressBar/CustomProgressBar/html/AllInMainAndExtension.html

            herrick Andy Herrick (Inactive)
            snathsunw Subrata Nath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: