JDK-4387422 : Some keys not working in JTextArea for Danish keyboards(JDK 1.3RC1)
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.3.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2000-11-09
  • Updated: 2000-11-28
  • Resolved: 2000-11-28
Related Reports
Duplicate :  
Description

Name: rmT116609			Date: 11/08/2000


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

Step to reproduce the problem:
install RH6.2 choosing Danish keyboard
Could not find any ways. The error does not occur on JDK 1.2.2
Run this program

import javax.swing.*;
import javax.swing.text.*;
import java.awt.*;
import java.awt.event.*;

public class TextTest{
	public static void main(String args[]) {
		JFrame jFrame = new JFrame();
		JTextArea jText = new JTextArea();
		jFrame.getContentPane().add(jText, BorderLayout.NORTH);
		jFrame.setSize(250,250);
		jFrame.setVisible(true);
		}
	}

The key on the left side of 'z' which contains the characters 'lessthan',
'greaterthan' and '\'
(normal, shift, altgr) will not work. The key on the right of the numeral '0'
will not work either ('+' and '?'). All the other keys work even the dead keys
to compose accented characters (a grave, e aigue, etc).

There are no error messages that appear during execution. However, at the
beginning, a set of lines are displayed and they are:
Warning: Cannot convert string "<Key>Escape,_Key_Cancel" to type VirtualBinding
Warning: Cannot convert string "<Key>Home,_Key_Begin" to type VirtualBinding
Warning: Cannot convert string "<Key>F1,_Key_Help" to type VirtualBinding
Warning: Cannot convert string "Shift<Key>F10,_Key_Menu" to type VirtualBinding
Warning: Cannot convert string "<Key>F10,Shift_Key_Menu" to type VirtualBinding
Warning: Cannot convert string "<Key>KP_Enter,_Key_Execute" to type
VirtualBinding
Warning: Cannot convert string "Alt<Key>Return,Alt_Key_KP_Enter" to type
VirtualBinding

If I extend the program to log all the keyevents, to press one of '+?<>\' does
not generate any event.
(Review ID: 109726) 
======================================================================