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

JCK 1.3a: AWT and swing components does not response to keyboard in plugin/Win32

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • client-libs
    • x86
    • windows_95



      Name: asR10013 Date: 02/15/2001



      Bug description ---> AWT and Swing components does not response to keyboard in Java plugin under Windows.
      ****************************************************************************

      Failing Tests:
      =============
      api/java_awt/interactive/TextComponentTests.html#TextComponentTests
      api/javax_swing/interactive/JScrollBarTests.html#JScrollBar
      api/java_awt/interactive/event/EventTests.html#EventTest0008
      api/javax_swing/interactive/JMenuTests.html#JMenu
      api/javax_swing/interactive/JToolTipTests.html#JToolTip
      api/javax_swing/interactive/JButtonTests.html#JButton
      api/javax_swing/interactive/JComboBoxTests.html#JComboBox
      api/javax_swing/interactive/JTextAreaTests.html#JTextArea
      api/javax_swing/interactive/JListTests.html#JList
      api/javax_swing/interactive/JTreeTests.html#JTree
      api/java_awt/interactive/event/EventTests.html#EventTest0020
      api/javax_swing/interactive/JSliderTests.html#JSlider
      api/javax_swing/interactive/JLabelTests.html#JLabel
      api/java_awt/interactive/RobotTests.html#RobotTests
      api/javax_swing/interactive/JMenuItemTests.html#JMenuItem
      api/javax_swing/interactive/JToggleButtonTests.html#JToggleButton

      JCK :
      =====
      jck1.3a

      Test source location:
      ====================
      /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_awt/interactive/TextComponentTests.java
      /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/javax_swing/interactive/JTextAreaTests.java

      Platforms:
      =============
      Windows ME
      Windows 95

      JDK, switches Info:
      ===================
      Java(TM) Plug-in: Version 1.4.0
      Using JRE version 1.4.0-beta Java HotSpot(TM) Client VM
       
      C:\Program Files\JavaSoft\JRE\1.4\bin>java.exe -version
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b51)
      Java HotSpot(TM) Client VM (build B51, mixed mode)

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail7/JavaWebServer1.1.3/public_html/QA/merlin/b51/jck13a/win32/winme_plugin_ns4.7_linux-18/workDir/api-interactive/java_awt/interactive/TextComponentTests_TextComponentTests.jtr
      /net/jtgb4u4c.eng/export/sail7/JavaWebServer1.1.3/public_html/QA/merlin/b51/jck13a/win32/winme_plugin_ns4.7_linux-18/workDir/api-interactive/javax_swing/interactive/JTextAreaTests_JTextArea.jtr

      How to reproduce:
      ====================
      1. Compile and run the following applet (See HTML source below).
      2. Try to type anything in the textfields.

      Source
      ======
      --------------- test.java ------------------------------------
      import java.awt.*;
      import java.applet.*;
      import javax.swing.*;

      public class test extends Applet {
          public void init() {
          try
          {
              setLayout( new GridLayout(2,2) );
              add( new TextField("TextField") );
              add( new Button("Button") );
              JTextField txt = new JTextField("JTextField");
              add( txt );
              JButton btn = new JButton("JButton");
              add( btn );
              btn.setFocusPainted( true );
              txt.grabFocus();
          }
          catch( Exception e )
          {
              System.out.println( e.toString() );
          };
          }
      }
      --------------- end test.java --------------------------------

      --------------- test.html ------------------------------------
      <html>
      <!--"CONVERTED_APPLET"-->
      <!-- CONVERTER VERSION 1.3 -->
      <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH=200 HEIGHT=100">
      <PARAM NAME=CODE VALUE="test" >
      <PARAM NAME="type" VALUE="application/x-java-applet">

      <COMMENT>
      <EMBED type="application/x-java-applet" CODE="test" WIDTH=200 HEIGHT=100>
      <NOEMBED>
      </COMMENT>
      </NOEMBED>
      </EMBED>
      </OBJECT>

      </html>
      --------------- end test.html --------------------------------

      Test output:
      =============

      Specific Machine Info:
      =====================
      hostname: linux-18

      Additional JCK related info:
      ============================
      URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto


      ======================================================================

            son Oleg Sukhodolsky (Inactive)
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: