Forums Register Login

Call click event of a buttong

+Pie Number of slices to send: Send
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!
+Pie Number of slices to send: Send
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)
Let me tell you a story about a man named Jed. He made this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1270 times.
Similar Threads
Actionevent
Pblm with JFrame and JPanel
Expand and Fold GWT Tree
Executing two f:ajax in h:commandButton
[SWT] Sash (Widget) repaint problem
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:22:57.