-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.3.0
-
x86
-
linux
Name: skT45625 Date: 08/14/2000
java version "1.3.0beta_refresh"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta_refresh-b09)
Java HotSpot(TM) Client VM (build 1.3.0beta-b07, mixed mode)
There is a bug with JTextField under Linux (JDK1.3 refreshed beta).
Given the following sample application:
import java.awt.*;
import javax.swing.*;
public class TextTest extends JFrame
{
// Application main entry point:
public static void main(String[] args)
{
TextTest win = new TextTest();
}
// Constructor of the frame
private TextTest()
{
super("JTextField Test");
Container contentPane = getContentPane();
contentPane.setLayout(new BorderLayout());
JTextField field = new JTextField(20);
contentPane.add(field, BorderLayout.CENTER);
setDefaultCloseOperation(EXIT_ON_CLOSE);
pack();
setVisible(true);
}
};
I tried to enter numeric value (without using the numeric keypad) in the
JTextField.
Only 4 and 6 are accepted ! 1,2,3,5,7,8,9 and 0 are rejected !
As I could only check this on one computer, here is the description of it
(since maybe this bug could depend on the material):
Gateway 2000 Solo 2500
French Keyboard (AZERTY)
I tried the same application under Windows NT and it worked fine.
(Review ID: 108398)
======================================================================
- duplicates
-
JDK-4371923 Three keys ><* don't appear in Swing components with German keyboard
-
- Closed
-