Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Swing's feature JButton.doClick()
Swing's feature JButton.doClick() [message #446461] Thu, 25 November 2004 11:57 Go to next message
Patrick Bielen is currently offline Patrick BielenFriend
Messages: 1
Registered: July 2009
Junior Member
Hi everyone,

I'm heavily taking the SWT Learning curve, but there is a nice Swing
feature that i really can't find in SWT. Seems there is no doClick()
method for Buttons in SWT to force the widgetSelected event of the Button ?

Does anybody knows if there are plans to implement this ?

Best Regards,

Patrick Bielen
Sun Certified Java Programmer
Re: Swing's feature JButton.doClick() [message #446542 is a reply to message #446461] Thu, 25 November 2004 16:05 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=4713

You can also use Widget.notifyListeners() to send a fake SWT.Selection for
your button or just call your own code that handles this events directly.

"Patrick Bielen" <bielen@stafa.nl> wrote in message
news:co4haq$u42$1@www.eclipse.org...
> Hi everyone,
>
> I'm heavily taking the SWT Learning curve, but there is a nice Swing
> feature that i really can't find in SWT. Seems there is no doClick()
> method for Buttons in SWT to force the widgetSelected event of the Button
?
>
> Does anybody knows if there are plans to implement this ?
>
> Best Regards,
>
> Patrick Bielen
> Sun Certified Java Programmer
>
Previous Topic:Event handling for child dialog?
Next Topic:changing Combo items from another Combo
Goto Forum:
  


Current Time: Tue Oct 20 07:25:08 GMT 2020

Powered by FUDForum. Page generated in 0.06686 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top