JDK-4770076 : Regression: Alt+number enters wrong characters in JTextComponent in JDK 1.4.1_01
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.1_01
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2002-10-28
  • Updated: 2002-11-15
  • Resolved: 2002-10-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other Other
1.4.1_02 02Fixed 1.4.2Fixed
Related Reports
Relates :  
Description
description: FULL PRODUCT VERSION :
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

FULL OPERATING SYSTEM VERSION :
4NT  3.01A   Windows NT 5.00 Win2000

A DESCRIPTION OF THE PROBLEM :
For entering special ANSI characters, such as accented
characters and ligatures, on Windows one uses Alt+0nnn
(where the numbers are typed on the numeric keypad). One
can see the ANSI character codes in the Windows Character
Map accessory. For example, Alt+0223 should give the German
sharp s ligature ?.

In JDK 1.3.1, typing Alt+0223 in a JTextField or JTextArea
correctly gives the German sharp s ligature. Similarly,
for Alt+130

In JDK 1.4.1, typing Alt+0223 incorrectly gives a U with a
grave accent (which you should get with Alt+0217).

REGRESSION.  Last worked in version 1.3.1

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Run Notepad JFC demo application.
2. Click in the edit area.
3. Hold down the Alt key, and while holding it down use the
keyboard's numeric keypad to type 0223.

EXPECTED VERSUS ACTUAL BEHAVIOR :
Should see German sharp s ligature: ?
- With JDK 1.3.1 you do see the German sharp s ligature.
- With JDK 1.4.1 get incorrect letter 'U' with grave
accent: ?

REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Use JFC notepad demo application included with JDK.
---------- END SOURCE ----------

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.1_02 mantis FIXED IN: 1.4.1_02 mantis INTEGRATED IN: 1.4.1_02 mantis
14-06-2004

WORK AROUND Letters can be pasted in from a non-Java application (eg. Character Map accessory). This is not feasible
11-06-2004

EVALUATION Almost certainly a duplicate of 4623376, etc. We should verify that this is fixed in Mantis. BTW, the German sharp s ligature looks a lot like the "beta" symbol. ###@###.### 2002-10-28 I can reproduce this with 1.4.1, but not with build 4 of Mantis. Alt-0223 produces the capital U-grave in 1.4.1, but produces the German s sharp in build 4 of 1.4.2. Closing as integrated in Mantis. ###@###.### 2002-10-28 This bug is similar to #4737679 which is fixed in Mantis. I Will be backporting the fix to next 1.4.1 update release. ###@###.### 2002-11-12
28-10-2002