Hi all, Say I have a JFrame that has a default button (the button that is automatically activated when the <ENTER> key is pressed on the JFrame). This JFrame has a JTextPane on it. Now if the JTextPane has focus, it will intercept the <ENTER> key presses, and not pass them up to the JFrame, and the default button will not be activated. Similarly, the JTextPane will intercept <TAB> key presses, and not pass them up to the JFrame so that it can give focus to the next component. I'm already handling keyPressed events in my subclassed JTextPane, is there any way to do something like: if keypressed="enter" or "tab" then pass event up to parent? _______________________________________________ Swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/swing
