Visual Class my program don`t compile [message #121785] |
Fri, 07 April 2006 19:18 |
Eclipse User |
|
|
|
Originally posted by: tomaszkulej.o2.pl
I have problem with visual editor. I use eclipse 3.1.1 and I aslo download
:
- emf-sdo-runtime-2.1.0
- GEF-runtime-3.1
- VE-SDK-1.1.0.1
I install plugin. Now I create a new project, next I clik file->new->other
and choose visual class. I see all component I choose Jframe a one button,
next I compile project but I can`t see any window of my application.
What`s happen ?
In problems eclipse write :
Severity Description Resource In Folder Location Creation Time Id
1 The import java.awt.BorderLayout is never used eeeee.java testy line 5 7
kwiecień 2006 21:08:54 6
1 The method getJFrame() from the type eeeee is never used
locally eeeee.java testy line 18 7 kwiecień 2006 21:08:54 7
When I choose a visual class I also choose : public static... and inhertit
abstract methods
|
|
|
Re: Visual Class my program don`t compile [message #121800 is a reply to message #121785] |
Fri, 07 April 2006 22:29 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
That is because you probably chose Style Other->Object. That is just an
empty java.lang.Object subclass. You probably also have errors turned on
for unused imports and unused private methods.
Don't use Other->Object, use Style Swing->Frame. That will create a
subclass of JFrame, which is what you want.
--
Thanks,
Rich Kulp
|
|
|
|
Re: Visual Class my program don`t compile [message #612550 is a reply to message #121785] |
Fri, 07 April 2006 22:29 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
That is because you probably chose Style Other->Object. That is just an
empty java.lang.Object subclass. You probably also have errors turned on
for unused imports and unused private methods.
Don't use Other->Object, use Style Swing->Frame. That will create a
subclass of JFrame, which is what you want.
--
Thanks,
Rich Kulp
|
|
|
|
Powered by
FUDForum. Page generated in 0.02906 seconds