Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I pass an event up the component hierarchy?

843806Jun 17 2007 — edited Nov 28 2007
I have a child component which has a mouse listener and a parent component with a mouse listener. However the child component consumes all the mouse events so the parent doesn't get them.

Is there a way for a child component to receive mouse events, then decided to pass them back up the component hierarchy so the parent can still receive them too?

I've spent the last two hours on Google and can't seem to find anything relevant.

Cheers, Eric
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 26 2007
Added on Jun 17 2007
19 comments
1,554 views