Designtime : Swing Components do not show up [message #52947] |
Sun, 01 August 2004 12:06 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 #52998 is a reply to message #52973] |
Sun, 01 August 2004 17:38 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 #596272 is a reply to message #52973] |
Sun, 01 August 2004 17:38 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04798 seconds