Assigning a Listener from a "parent" pane possible?
Im a swing Noob.
Here is what I have done.
I have created a pane that holds other panes. I will call the panes that are added to the main pain childPanes. (are this what people refer to aswidgets?). Anyway the child panes have buttons on them and what I want to do is some how be able to assign the parentPane a listener that listens for an event on the childPane.
(FYI the use of parent/child terminology is not used in the extends sense) I would say hiearchtical sense but I cant spel that.
I can get this to work by having a reference from the child to the parent and just passing the event to a method but doing that seems a bit uncomfortable (but yet simply).
It seems to me that this might be kinda basic. But I personally dont have enough exp to see it.
Thanks in advance
B.

