EVALUATION
The simple test below reproduces the problem with SHIFT+META+M. Just look if the "M" KEY_PRESSED events are printed as you type. It will be fixed in 7154072.
The test should also reproduce the other issue, because if key events are doubled it shouldn't be netbeans-specific. I'm asking the submitter to try it in the same environment he reproduced the bug with netbeans.
import java.awt.*;
import java.awt.event.*;
public class Test {
public static void main(String[] args) {
Frame f = new Frame("Frame");
TextField t = new TextField("text");
f.add(t);
f.pack();
f.setVisible(true);
t.addKeyListener(new KeyAdapter() {
public void keyTyped(KeyEvent ke) {
System.out.println(ke);
}
public void keyReleased(KeyEvent ke) {
System.out.println(ke);
}
public void keyPressed(KeyEvent ke) {
System.out.println(ke);
}
});
}
}
|