File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Visual Editor for Eclipse 1.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Visual Editor for Eclipse 1.0" Watch "Visual Editor for Eclipse 1.0" New topic

Visual Editor for Eclipse 1.0

Vinnie Jenks
Ranch Hand

Joined: Apr 26, 2004
Posts: 207
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?

Boris Benda

Joined: Aug 31, 2004
Posts: 3
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)
I agree. Here's the link:
subject: Visual Editor for Eclipse 1.0
It's not a secret anymore!