Event passing

Hi,I have a JFrame in which I have a JPanel. Thus the JFrame contains the JPanel.When an event occurs in JPanel, I want to pass the event onto the JFrame. Is there an easy way to do this?thanks
[221 byte] By [melkor12a] at [2007-10-3 4:07:16]
# 1
can you tell which event you are trying to pass? you can provide a sample code snippet to emphasize what you are trying to do.
mr47a at 2007-7-14 22:06:51 > top of Java-index,Security,Event Handling...
# 2
An ActionEvent occurs in the JPanel due to a button being pressed. I want to notify JFrame which contains this JPanel that an ActionEvent took place. In other words, I want to pass the event onto the JFrame. How can I do this?
melkor12a at 2007-7-14 22:06:51 > top of Java-index,Security,Event Handling...
# 3
Make the frame add itself as an ActioonListener to the button.
Franck_Lefevrea at 2007-7-14 22:06:51 > top of Java-index,Security,Event Handling...
# 4
Melkoras far as i know an object generates an event (which is also an object) to its registered listener.I dont think it磗 possible to send this event to another object but to it owned listener(mouseListener) in ur case
charlles_cubaa at 2007-7-14 22:06:51 > top of Java-index,Security,Event Handling...