Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Visual Class my program don`t compile
Visual Class my program don`t compile [message #121785] Fri, 07 April 2006 19:18 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #121883 is a reply to message #121800] Sun, 09 April 2006 08:32 Go to previous message
Eclipse UserFriend
Originally posted by: tomaszkulej.o2.pl

Ok, thank you for help...
Re: Visual Class my program don`t compile [message #612550 is a reply to message #121785] Fri, 07 April 2006 22:29 Go to previous message
Eclipse UserFriend
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 #612564 is a reply to message #121800] Sun, 09 April 2006 08:32 Go to previous message
Eclipse UserFriend
Originally posted by: tomaszkulej.o2.pl

Ok, thank you for help...
Previous Topic:Error in Ve : IWAV 0181E parsing error
Next Topic:SWT code generator style for Swing
Goto Forum:
  


Current Time: Fri Apr 26 10:05:30 GMT 2024

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

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

Back to the top