I guess you can register the Enter Key Stroke with the particular JFrame
that wants to handle the event.
>From: "Josh Howe" <[EMAIL PROTECTED]>
>To: "Java - Swing" <[EMAIL PROTECTED]>
>Subject: event bubbling
>Date: Mon, 9 Apr 2001 13:49:07 -0400
>
>
>Hi all,
>
>Can anybody tell me how to pass a KeyPressed event from a JTextPane up to
>it's parent container. I have a single line JTextPane, and I'd like it to
>ignore <ENTER> key presses and hand them up to the JFrame so that the
>JFrame's default button will be activated. Thanks!
>
>_______________________________________________
>Swing mailing list
>[EMAIL PROTECTED]
>http://eos.dk/mailman/listinfo/swing
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing