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

plug-in: choice component stops responding to mouse after frame is moved

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.6, 1.2.0, 1.2.1
    • Fix Version/s: None
    • Component/s: client-libs
    • Subcomponent:
    • CPU:
      generic, sparc
    • OS:
      solaris_2.5.1, solaris_2.6

      Description

      Description of symptoms:

      When an applet implementing a java.awt.Choice object is run in Netscape 4.05 on Solaris 2.5.1 using the JRE1.1.6, there is no mouse access to the object once
      the browser containing the applet has been dragged and dropped. The object is
      accessible through the Tab keys, and other components in the applet are
      fully accessible.

      This is a regression from the 1.1.5 functionality.

      Below are files comprising a test case:

      *************************** ChoiceApplet.html **********************************
      <HTML>
      <!--"CONVERTED_APPLET"-->
      <!-- CONVERTER VERSION 1.0 -->
      <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
      WIDTH = 640 HEIGHT = 600 codebase="http://java.sun.com/products/plugin/1.1/jinstall-11-win32.cab#Version=1,1,
      0,0">
      <PARAM NAME = CODE VALUE = "choiceapplet.class" >

      <PARAM NAME="type" VALUE="application/x-java-applet;version=1.1">
      <PARAM NAME = "foreground" VALUE ="255, 255, 255">
      <PARAM NAME = "background" VALUE ="0,0,0">
      <PARAM NAME = "myfont" VALUE = "Courier">
      <COMMENT>
      <EMBED type="application/x-java-applet;version=1.1" java_CODE = "ChoiceApplet.class" WIDTH = 640 HEIGHT = 600
       foreground = "255, 255, 255" background = "0,0,0" myfont = "Courier" pluginspage="http://java.sun.com/produ
      cts/plugin/1.1/plugin-install.html"><NOEMBED></COMMENT>

      </NOEMBED></EMBED>
      </OBJECT>

      <!--
      <APPLET CODE = "ChoiceApplet.class" WIDTH = 640 HEIGHT = 600 >
      <PARAM NAME = "foreground" VALUE ="255, 255, 255">
      <PARAM NAME = "background" VALUE ="0,0,0">
      <PARAM NAME = "myfont" VALUE = "Corrier">


      </APPLET>
      -->
      <!--"END_CONVERTED_APPLET"-->

      </HTML>

      ************************** ChoiceApplet.java ***********************************
      import java.awt.*;
      import java.applet.*;

      public class ChoiceApplet extends Applet
      {

      public void init()
      {
      setLayout(null);
      setSize(426,266);
      tempPanel = new java.awt.Panel();
      tempPanel.setLayout(null);
      tempPanel.setBounds(0,0,426,266);
      add(tempPanel);
      fontSize = new java.awt.Choice();
      fontSize.add(" ");
      fontSize.add("8");
      fontSize.add("9");
      fontSize.add("10");
      fontSize.add("11");
      fontSize.add("12");
      tempPanel.add(fontSize);
      fontSize.setBounds(216,66,57,36);
      fontSize.setBackground(new Color(12632256));
      fontSize.setEnabled(true);
         fontSize.select(3);
      }

      java.awt.Panel tempPanel;
      java.awt.Choice fontSize;
      }

      -----------------------------------------------------------------------------

      There is some termonological confusion here. The customer refers to "dragging
      and dropping" the browser. In fact the problem happens simply when the
      browser window is moved.


      graham.hamilton@Eng 1998-07-25

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ssisunw Ssi Ssi (Inactive)
              Reporter:
              atongschsunw Albert Tong-schmidt (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: