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

Multiple Mozilla tabs cause Applet bail on close

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      solaris_2.5.1

      Description

      FULL PRODUCT VERSION :
      1.6_04

      A DESCRIPTION OF THE PROBLEM :
      In Mozilla Firefox when opening the same applet in multiple tabs (or multiple windows), closing one instance of the applet will cause the other applet to crash. This works in 1.6_03, but not in 1.6_04 or later.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Open the sample applet in 2 separate Mozilla Firefox tabs. Close either of the 2 instances. I used the following HTML

      <HTML>
      <HEAD>
      <TITLE>TEST APPLET</TITLE>
      </HEAD>
      <BODY topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
      <APPLET NAME="TEST APPLET" CODE="TestApplet.class" width=100% height=100%>
      </APPLET>
      </BODY>
      </HTML>

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The applet you chose to close should exit, leaving one completely functional applet left running.
      ACTUAL -
      The remaining tab goes gray and the status bar indicates "Applet Test Applet bail"

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import javax.swing.*;

      public class TestApplet extends JApplet
      {
         public void init()
         {
            JPanel mainPanel = new JPanel();
            mainPanel.add( new JLabel( "Test Applet" ) );
            getContentPane().add( mainPanel );
         }
      }
      ---------- END SOURCE ----------

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kbr Kenneth Russell (Inactive)
                Reporter:
                ndcosta Nelson Dcosta (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: