I have three buttons.
Button1
Button2
Button3
Button1 and Button2 do two seperate functions. Is it possible to have Button3, when pressed, trigger the actionperfromed on both Button1 and Button2 at the same time?
Thank you,
Jonathan
I have three buttons.
Button1
Button2
Button3
Button1 and Button2 do two seperate functions. Is it possible to have Button3, when pressed, trigger the actionperfromed on both Button1 and Button2 at the same time?
Thank you,
Jonathan
Sure, just call doClick() on Button1 and Button2:
event.source.parent.getComponent("Button1").doClick()
event.source.parent.getComponent("Button2").doClick()