Bubbling up in the AWT event model?

Event bubbling up in AWT only works for mouse events, and then only if there are no mouse listeners on the child component.

Event bubbling up in AWT only works for mouse events, and then only if there are no mouse listeners on the child component. This can be quite confusing if you have, say, a JComboBox which is typically implemented by the PL&F with a text field and a button component. You might want to look up "glass panes".

I suggest ignoring containment hierarchy as much as possible. Also create listeners that know their context and dot use getSource. And don't extend classes (such as JFrame, JPanel and Thread) unnecessarily.

But the click on the button is an ActionEvent... – xdevel2000 Sep 17 '10 at 15:53 @xdevel2000 JFrame does not have addActionListener. – Tom Hawtin - tackline Sep 19 '10 at 13:17.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions