Skip to main content



      Home
Home » Archived » Visual Editor (VE) » VE and SWT
VE and SWT [message #62037] Mon, 27 September 2004 20:40 Go to next message
Eclipse UserFriend
Originally posted by: cchan.spikesource.com

Unable to create SWT Shell using Visual Editor.

I tried to create a SWT Shell from the palette and from the new Visual
Class dialog, niether of them allows me to create a shell so I can add
other contents like buttons, etc.

- Creating from palette allows be to select SWT Container Shell, drag a
rectangle into canvas, but nothing shows up.

- Creating from the initial dialog, SWT Application, generates some
code, but fails to load the control palette (its empty) and gives an
error that a Null pointer was discovered. Then it is stuck because
cannot layout any controls since there is nothing in the palette.


Does anyone know why? I'm using Eclipse 3.0.1 with VE 1.0.

Thanks in advanced.

- Chris
Re: VE and SWT [message #62062 is a reply to message #62037] Mon, 27 September 2004 21:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cchan.spikesource.com

The error I get is

"Error trying to set new file into editor"

Reason:
java.lang.NullPointerException

Christopher Chan wrote:
> Unable to create SWT Shell using Visual Editor.
>
> I tried to create a SWT Shell from the palette and from the new Visual
> Class dialog, niether of them allows me to create a shell so I can add
> other contents like buttons, etc.
>
> - Creating from palette allows be to select SWT Container Shell, drag a
> rectangle into canvas, but nothing shows up.
>
> - Creating from the initial dialog, SWT Application, generates some
> code, but fails to load the control palette (its empty) and gives an
> error that a Null pointer was discovered. Then it is stuck because
> cannot layout any controls since there is nothing in the palette.
>
>
> Does anyone know why? I'm using Eclipse 3.0.1 with VE 1.0.
>
> Thanks in advanced.
>
> - Chris
Re: VE and SWT [message #62368 is a reply to message #62062] Tue, 28 September 2004 12:36 Go to previous message
Eclipse UserFriend
Originally posted by: mendelgili.netscape.net

Christopher Chan wrote:

> The error I get is
>
> "Error trying to set new file into editor"
>
> Reason:
> java.lang.NullPointerException
>
> Christopher Chan wrote:
>
>> Unable to create SWT Shell using Visual Editor.
>>
>> I tried to create a SWT Shell from the palette and from the new Visual
>> Class dialog, niether of them allows me to create a shell so I can add
>> other contents like buttons, etc.
>>
>> - Creating from palette allows be to select SWT Container Shell, drag
>> a rectangle into canvas, but nothing shows up.
>>
>> - Creating from the initial dialog, SWT Application, generates some
>> code, but fails to load the control palette (its empty) and gives an
>> error that a Null pointer was discovered. Then it is stuck because
>> cannot layout any controls since there is nothing in the palette.
>>
>>
>> Does anyone know why? I'm using Eclipse 3.0.1 with VE 1.0.
>>
>> Thanks in advanced.
>>
>> - Chris

Please attach the .log file (in the .metadata directory of your workspace)
Re: VE and SWT [message #599822 is a reply to message #62037] Mon, 27 September 2004 21:46 Go to previous message
Eclipse UserFriend
Originally posted by: cchan.spikesource.com

The error I get is

"Error trying to set new file into editor"

Reason:
java.lang.NullPointerException

Christopher Chan wrote:
> Unable to create SWT Shell using Visual Editor.
>
> I tried to create a SWT Shell from the palette and from the new Visual
> Class dialog, niether of them allows me to create a shell so I can add
> other contents like buttons, etc.
>
> - Creating from palette allows be to select SWT Container Shell, drag a
> rectangle into canvas, but nothing shows up.
>
> - Creating from the initial dialog, SWT Application, generates some
> code, but fails to load the control palette (its empty) and gives an
> error that a Null pointer was discovered. Then it is stuck because
> cannot layout any controls since there is nothing in the palette.
>
>
> Does anyone know why? I'm using Eclipse 3.0.1 with VE 1.0.
>
> Thanks in advanced.
>
> - Chris
Re: VE and SWT [message #599910 is a reply to message #62062] Tue, 28 September 2004 12:36 Go to previous message
Eclipse UserFriend
Christopher Chan wrote:

> The error I get is
>
> "Error trying to set new file into editor"
>
> Reason:
> java.lang.NullPointerException
>
> Christopher Chan wrote:
>
>> Unable to create SWT Shell using Visual Editor.
>>
>> I tried to create a SWT Shell from the palette and from the new Visual
>> Class dialog, niether of them allows me to create a shell so I can add
>> other contents like buttons, etc.
>>
>> - Creating from palette allows be to select SWT Container Shell, drag
>> a rectangle into canvas, but nothing shows up.
>>
>> - Creating from the initial dialog, SWT Application, generates some
>> code, but fails to load the control palette (its empty) and gives an
>> error that a Null pointer was discovered. Then it is stuck because
>> cannot layout any controls since there is nothing in the palette.
>>
>>
>> Does anyone know why? I'm using Eclipse 3.0.1 with VE 1.0.
>>
>> Thanks in advanced.
>>
>> - Chris

Please attach the .log file (in the .metadata directory of your workspace)
Previous Topic:Code Generation
Next Topic:Error when opening a class with the visual publisher
Goto Forum:
  


Current Time: Mon May 05 01:58:30 EDT 2025

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

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

Back to the top