[1] Install FCS build of Java 2 (1.2) on Windows 98/95 machine.
[2] Use the following code :
import java.awt.*;
import javax.swing.*;
public class SwingEuroTest extends java.applet.Applet
{
public void init()
{
setSize(100,100);
JTextField jTex = new JTextField(20);
this.add("Center", jTex);
this.show();
}
}
[3] Run the applet. Hitting Alt + 0128 on number key pad should bring
up Euro symbol. No symbol appears. Hitting AltGraph + other key
combinations does appear to work.
Symbol appears in standard AWT components correctly.
May be duplicate of 4122687 but fact that other combinations work is
strange. Has the 4122687 fix been partially implemented and euro symbol
overlooked?
Name: yyT116575 Date: 08/31/2001
C:\>java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
When I type ALT+0128 in a JTextField component to enter the EURO character, nothing happens (the character does not appear).
I am able to recreate this bug using the SwingSet2 demo application that comes with JDK1.3. This happens on a machine running Windows98, and the problem also happens on Windows95 machines. This bug does not seem to occur on Windows2000 machines.
(Review ID: 131137)
======================================================================
- relates to
-
JDK-4122687 AltGr keys are not working in Components (Swing, JBCL, AWT)
- Closed