>:When we dispatch an event from button A's ActionListener onto Button
>:B, if the event specifies a left mouse button click, it seems to be
[quoted text clipped - 23 lines]
>: } //.....This also doesn't work
>:</code>
If your only objective is to have the response to your A button cause a
"click" to occur on the B button, why not simply call Bbutton.doClick()?
= Steve =

Signature
Steve W. Jackson
Montgomery, Alabama
hiwa - 06 Jan 2004 02:22 GMT
> If your only objective is to have the response to your A button cause a
> "click" to occur on the B button, why not simply call Bbutton.doClick()?
Thanks Steve. But we can't use doClick() method because it should
accompany modifyer, SHIFT and/or CTRL.
I now have found a solution using SwingUilities.notifyAction()
method. In order to use the method, I have rewritten the Bbutton's
ActionListner into an Action.