Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Designtime : Swing Components do not show up
Designtime : Swing Components do not show up [message #52947] Sun, 01 August 2004 12:06 Go to next message
Eclipse UserFriend
Originally posted by: wolfganglechnerPLEASE.NOSPAMgmx.at

Hi

First of all, thanks to the eclipse and ve community
for this great software.

But I experience a problem in designing visual components
derived from javax.swing.*

I'm able to create a VisualClass file but no frame does show
up in the designwindow. The source is ok; if I add visual
compnents the source changes and is correct.

Using awt instead the designwindow does update only
when changing the sourcecode. Dropping components onto
the frame does not.

Did I miss something? (class-paths or other properties to
set?) Anybody experienced something similar?

Setup :
WindowsXP
Eclipse 3.0 200406251208
VE M2


thanks in advance
wolf
Re: Designtime : Swing Components do not show up [message #52973 is a reply to message #52947] Sun, 01 August 2004 16:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

We've never seen something like that. Could you please attach you .log
portions that refer to jem and ve? There may be errors that would
explain this.

--
Thanks, Rich Kulp

Re: Designtime : Swing Components do not show up [message #52998 is a reply to message #52973] Sun, 01 August 2004 17:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wolfganglechnerPLEASE.NOSPAMgmx.at

hi

I created a new workspace (directory) then New->Project->JavaProject
and New->VisualClass-> derived from Swing Frame

The .log says that :

!SESSION Aug 01, 2004
19:34:33.670 ---------------------------------------------
eclipse.buildId=I200406251208
java.version=1.4.2_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE

!ENTRY org.eclipse.ve.java.core 4 0 Aug 01, 2004 19:34:33.670
!MESSAGE Exception thrown.
!STACK 0
java.lang.ClassCastException
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaIns
tances(JavaSourceTranslator.java:704)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildComposit
ionModel(JavaSourceTranslator.java:773)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocumen
t(JavaSourceTranslator.java:880)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(Jav
aSourceTranslator.java:655)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.r
un(JavaVisualEditorPart.java:1413)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

Thanks in advance
wolf


"Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
news:cej5ms$oie$1@eclipse.org...
> We've never seen something like that. Could you please attach you .log
> portions that refer to jem and ve? There may be errors that would
> explain this.
>
> --
> Thanks, Rich Kulp
> 
>
Re: Designtime : Swing Components do not show up [message #53024 is a reply to message #52998] Sun, 01 August 2004 18:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

What version of EMF are you using (should be 2.0.0 final release)?

Are you doing anything special with EMF, changing the resource factories
in any way?

Are there other non-standard Eclipse projects installed beside GEF, EMF,
and VE?

The class cast error on the given line should not occur if vanilla EMF
is installed. It is saying our resource that we use to model the class
is not an XMIResource, and that can't happen normally.


--
Thanks, Rich Kulp

Re: Designtime : Swing Components do not show up [message #53100 is a reply to message #53024] Mon, 02 August 2004 09:03 Go to previous message
Eclipse UserFriend
Originally posted by: wolfganglechnerPLEASE.NOSPAMgmx.at

Ok, I completly reinstalled eclipse, gef, emf and ve,
works (I believe I did not download GEF before)

thanks
wolf


"Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
news:cejdch$vvt$1@eclipse.org...
> What version of EMF are you using (should be 2.0.0 final release)?
>
> Are you doing anything special with EMF, changing the resource factories
> in any way?
>
> Are there other non-standard Eclipse projects installed beside GEF, EMF,
> and VE?
>
> The class cast error on the given line should not occur if vanilla EMF
> is installed. It is saying our resource that we use to model the class
> is not an XMIResource, and that can't happen normally.
>
>
> --
> Thanks, Rich Kulp
> 
>
Re: Designtime : Swing Components do not show up [message #596262 is a reply to message #52947] Sun, 01 August 2004 16:30 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

We've never seen something like that. Could you please attach you .log
portions that refer to jem and ve? There may be errors that would
explain this.

--
Thanks, Rich Kulp

Re: Designtime : Swing Components do not show up [message #596272 is a reply to message #52973] Sun, 01 August 2004 17:38 Go to previous message
Eclipse UserFriend
Originally posted by: wolfganglechnerPLEASE.NOSPAMgmx.at

hi

I created a new workspace (directory) then New->Project->JavaProject
and New->VisualClass-> derived from Swing Frame

The .log says that :

!SESSION Aug 01, 2004
19:34:33.670 ---------------------------------------------
eclipse.buildId=I200406251208
java.version=1.4.2_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE

!ENTRY org.eclipse.ve.java.core 4 0 Aug 01, 2004 19:34:33.670
!MESSAGE Exception thrown.
!STACK 0
java.lang.ClassCastException
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaIns
tances(JavaSourceTranslator.java:704)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildComposit
ionModel(JavaSourceTranslator.java:773)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocumen
t(JavaSourceTranslator.java:880)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(Jav
aSourceTranslator.java:655)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.r
un(JavaVisualEditorPart.java:1413)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

Thanks in advance
wolf


"Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
news:cej5ms$oie$1@eclipse.org...
> We've never seen something like that. Could you please attach you .log
> portions that refer to jem and ve? There may be errors that would
> explain this.
>
> --
> Thanks, Rich Kulp
> 
>
Re: Designtime : Swing Components do not show up [message #596280 is a reply to message #52998] Sun, 01 August 2004 18:41 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

What version of EMF are you using (should be 2.0.0 final release)?

Are you doing anything special with EMF, changing the resource factories
in any way?

Are there other non-standard Eclipse projects installed beside GEF, EMF,
and VE?

The class cast error on the given line should not occur if vanilla EMF
is installed. It is saying our resource that we use to model the class
is not an XMIResource, and that can't happen normally.


--
Thanks, Rich Kulp

Re: Designtime : Swing Components do not show up [message #596314 is a reply to message #53024] Mon, 02 August 2004 09:03 Go to previous message
Eclipse UserFriend
Originally posted by: wolfganglechnerPLEASE.NOSPAMgmx.at

Ok, I completly reinstalled eclipse, gef, emf and ve,
works (I believe I did not download GEF before)

thanks
wolf


"Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
news:cejdch$vvt$1@eclipse.org...
> What version of EMF are you using (should be 2.0.0 final release)?
>
> Are you doing anything special with EMF, changing the resource factories
> in any way?
>
> Are there other non-standard Eclipse projects installed beside GEF, EMF,
> and VE?
>
> The class cast error on the given line should not occur if vanilla EMF
> is installed. It is saying our resource that we use to model the class
> is not an XMIResource, and that can't happen normally.
>
>
> --
> Thanks, Rich Kulp
> 
>
Previous Topic:ToolTip for Tree in palette missing
Next Topic:VE Editor for Eclipse 3.0 Can't ser formdata
Goto Forum:
  


Current Time: Sat Nov 02 17:57:53 GMT 2024

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

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

Back to the top