This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
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

Win a copy of The Software Craftsman this week in the Agile forum!
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)
subject: Visual Editor for Eclipse 1.0