Skip to main content



      Home
Home » Archived » Visual Editor (VE) » VE 1.0.1 SWT SUPPORT
VE 1.0.1 SWT SUPPORT [message #61281] Mon, 27 September 2004 05:59 Go to next message
Eclipse UserFriend
After migration to eclipse 3 only to be able to use VE 1.0.1 i found some
problems:
i.e: (SWT components) add composite->add button--> add event to
button-->!!!
button.addActionListener(java.awt.event.ActionListener()) has been
added to swt button (???) (event added from Java Beans view)

i.e: in Properties view i can set a label for an swt button, this
generates a
button.setLabel() statement in the code instead of button.setText()

It seems to me VE handles the swt button as a swing jbutton.
Re: VE 1.0.1 SWT SUPPORT [message #61353 is a reply to message #61281] Mon, 27 September 2004 06:48 Go to previous message
Eclipse UserFriend
Originally posted by: myersj.nospam.gmail.com

Lrv wrote:
> After migration to eclipse 3 only to be able to use VE 1.0.1 i found some
> problems:
> i.e: (SWT components) add composite->add button--> add event to
> button-->!!!
> button.addActionListener(java.awt.event.ActionListener()) has been
> added to swt button (???) (event added from Java Beans view)
>
> i.e: in Properties view i can set a label for an swt button, this
> generates a
> button.setLabel() statement in the code instead of button.setText()
>
> It seems to me VE handles the swt button as a swing jbutton.
>
>
Hi Lrv,

You must use a Java runtime version 1.4.2 or above when working with
SWT. Versions previous to that contained a bug with the bean info
implementation that causes confusion between AWT and SWT classes.

- Jeff
Re: VE 1.0.1 SWT SUPPORT [message #599586 is a reply to message #61281] Mon, 27 September 2004 06:48 Go to previous message
Eclipse UserFriend
Lrv wrote:
> After migration to eclipse 3 only to be able to use VE 1.0.1 i found some
> problems:
> i.e: (SWT components) add composite->add button--> add event to
> button-->!!!
> button.addActionListener(java.awt.event.ActionListener()) has been
> added to swt button (???) (event added from Java Beans view)
>
> i.e: in Properties view i can set a label for an swt button, this
> generates a
> button.setLabel() statement in the code instead of button.setText()
>
> It seems to me VE handles the swt button as a swing jbutton.
>
>
Hi Lrv,

You must use a Java runtime version 1.4.2 or above when working with
SWT. Versions previous to that contained a bug with the bean info
implementation that causes confusion between AWT and SWT classes.

- Jeff
Previous Topic:code generation for Swing
Next Topic:[ANN] Eclipse Visual Editor 1.0 Released
Goto Forum:
  


Current Time: Tue May 13 09:22:59 EDT 2025

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

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

Back to the top