| Author |
Call click event of a buttong
|
Liwuen Chew
Greenhorn
Joined: Mar 11, 2010
Posts: 24
|
|
Hi! I have a SWT button in a SWT form, which has its listener for a click event.
I want to call that listener from a swing jButton. Can you please help me? Thanks!
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8562
|
|
I haven't worked with SWT, but I am imagining you need to register the listener to the button like you would do in swing.
button.addActionListener(listener)
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
 |
|
|
subject: Call click event of a buttong
|
|
|