Hi, I've mailed this list before about problems with the number pad on linux jdk117v_1a. I just tried it on the jdk117_v2_x86-glibc2.0 prerelease version from wisp.net and it still exists. Basically it's bug id #365 in the jitterbug database. The num pad works on jdk116_v5 to some extent (the Enter key doesn't cause an ActionEvent as it should), but it's completely broken on both jdk117_v1a and v2. It would be very nice for those of us trying to use java on the client side if this could be fixed someday soon. I'm attaching a small test program that can be used to show the problem. Here's my system info: Linux_Dist: RedHat 5.2 Libc_ver 2.0.7 Swing 1.1 thanks, Kelly -- Kelly A. Campbell Applications Programmer/Analyst <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Kansas State University http://www.telecom.ksu.edu/~camk/ Department of Telecommunications 109 East Stadium, Manhattan KS 66506 http://www.telecom.ksu.edu/ Voice: (785) 532-7067 Fax: (785) 532-7114
import java.awt.*; import java.awt.event.*; import javax.swing.*; public class TestNumPad extends JFrame implements ActionListener { protected JTextField _field; public static void main (String[] args) { TestNumPad p = new TestNumPad(); } public TestNumPad() { super("TestNumPad"); JPanel p = new JPanel(); _field = new JTextField(10); _field.addActionListener(this); p.add(_field); this.getContentPane().add(p); this.pack(); this.show(); this.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent evt) { System.exit(0); } } ); } public void actionPerformed(ActionEvent evt) { System.out.println("actionPerformed: '"+_field.getText()+ "'"); } }