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

Swing text component can't get a focus in an applet for JPI.

XMLWordPrintable

    • x86, sparc
    • solaris, solaris_8


      Tested with Merlin b65 on Solaris 8 Sparc/X86 using Netscape 4.7:

      JTextArea can not get a focus.


      To reproduce,

      1. Set $JAVAHOME/jre/plugin/sparc/ns4 to NPX_PLUGIN_PATH.
      2. Lanunch Netscape 4.7
      3. Go to the URL
         http://longpier.eng.sun.com:8080/jaws-i18n/doc/plugin-bat.html
      4. Click the url for Test Items 2, Hello I18N demo.
         http://longpier.eng.sun.com:8080/jaws-i18n/test/bat/hello-i18n.html
      5. When the demo is loaded and excuted, click on JTextArea diplayed in "2. Input Method(Swing Active Client)".
         Then, the problem occurs; JTextArea can not be activated and can't get a focus.


      *NOTE*
      1)If you click any other window except NS's window on which the demo is running before clicking on JTextArea, JTextArea can get a focus and works.

      2)The demo has AWT text component, TextField.
      This problem is not reproducible for TextField.

      3)This problem is reproducible with NS6 also.

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

      longpier is not available now.
      The correct URL for the test case is;
      http://i18n-u1-26c.eng.sun.com:8080/jaws-i18n/test/bat/hello-i18n.html

      Tested with b74 on Solaris8 and 9 Sparc and Solaris8 x86, this bug is not reproducible.

      miki.tokunaga@japan 2001-08-03

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

            rraysunw Richard Ray (Inactive)
            mmtokunasunw Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: