R
Ron
The following code does not seem to work:
public class DocumentSetupDialog extends JInternalFrame {
public DocumentSetupDialog {
addKeyListener(new KeyAdapter() {
public void keyPressed(KeyEvent e) {
System.out.println("hello");
}
});
}
}
Neither does getGlassPane().addKeyListener()
How do I pick up key events in JInternalFrames?
Thanks,
Ron
public class DocumentSetupDialog extends JInternalFrame {
public DocumentSetupDialog {
addKeyListener(new KeyAdapter() {
public void keyPressed(KeyEvent e) {
System.out.println("hello");
}
});
}
}
Neither does getGlassPane().addKeyListener()
How do I pick up key events in JInternalFrames?
Thanks,
Ron