Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Visual Editor for Eclipse 1.0

 
Vinnie Jenks
Ranch Hand
Posts: 207
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me why *my* copy of the Visual Editor for eclipse has everything BUT SWT support available?

I'm reading all of the tutorials and they all have a SWT tab for adding controls to the visual designer whereas I only have AWT and Swing controls available...

Was it excluded? If no, can I "turn it on" somehow?

Thanks!
 
Boris Benda
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well...
First create java project New Project>Java Project). Now right click on you project and choose New>Other. Now click on Java and choose Visual Class. Pick in Style: SWT ->Application(for example) and fill all the necessary things (name of the class, package)and click on Finish and visual studio will do the rest. In order to run this class you will have to add -Djava.library.path (check my answer to your question "can't compile ANYWHERE..."<- notice that Eclipse added SWT.jar, so you don't have to add it manualy)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic