JDK-4401645 : JTextComponents on Linux JDK 1.3 ignore some key inputs
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.3.0_01
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2001-01-04
  • Updated: 2001-02-21
  • Resolved: 2001-02-21
Related Reports
Duplicate :  
Description

Name: rmT116609			Date: 01/03/2001


java version "1.3.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01)
Java HotSpot(TM) Client VM (build 1.3.0_01, mixed mode)


JTextComponents(JTextField, JTextArea, etc.) do not accept ^~key, @`key, and
:*key on Linux  Red Hat 6.1.  The kernel is updated to 2.2.18  ,  JDK 1.3  from
Sun. Any other applicaiton doesn't show this phenomenon except Java.  My env is
GNOME and the sawfish window manager.  My keyboard is Japanese
109(106) keyboard which is Windows-smutted.

This is so called "Japanese 106/109 keyboard" which has
two special keys that have Windows icon printed on them.
Thus we call them "Windows-smutted."  Here in Japan, every
Windows PC is sold with this type of keyboard, so nothing
special about it.  In the /etc/X11/XF86Config file, this
type of keyboard is specified as:

   XkbModel    "jp106"
   XkbLayout   "jp"

The most serious problem is we can't input '@'
for a mail-address and ':' for a URL.
---an example program---
import javax.swing.*;
public class JTextTest{
  public static void main(String[] argv){
    JFrame frame=new JFrame();
 frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setSize(400, 150);
    JTextField tf=new JTextField("Testing :, @, ^, etc. on Linux", 30);
    frame.getContentPane().add(tf);
    frame.setVisible(true);
  }
}
------------------
(Review ID: 114395) 
======================================================================

Comments
WORK AROUND Name: rmT116609 Date: 01/03/2001 None. ======================================================================
11-06-2004

EVALUATION This sounds exactly like 4295215. eric.hawkes@eng 2001-02-20
20-02-2001