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

Applet.getAppletContext().getApplets() can not return applet which is added on the fly

XMLWordPrintable

    • x86
    • windows_xp

      visit the following url under firefox3 while opening the java console:
      http://sqeweb/jsn/users/fred/deployment_ws/reappear/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/html/AddApplet.html

      the number of applet printed in the cosole is 1, but there are 2 applets in the page, one of which is added on the fly.

      the applet code is:
      http://sqeweb/jsn/users/fred/deployment_ws/reappear/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/src/AddApplet.java

      and the statement which prints applet number is:
      System.out.println("@@@@ " + appletNum);

            dtitov Daniil Titov (Inactive)
            qgong Fred Gong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: