Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » VE and SWT
VE and SWT [message #62037] Tue, 28 September 2004 00: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] Tue, 28 September 2004 01: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 16: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] Tue, 28 September 2004 01: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 16:36 Go to previous message
Gili Mendel is currently offline Gili MendelFriend
Messages: 338
Registered: July 2009
Senior Member
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: Sun Oct 06 14:19:16 GMT 2024

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

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

Back to the top