aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes SWT Questions? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SWT Questions?" Watch "SWT Questions?" New topic
Author

SWT Questions?

S. Palanigounder
Ranch Hand

Joined: Apr 03, 2003
Posts: 145
Is SWT built on Swing/AWT?
Do I have to use SWT to wirte plug-ins for Eclipse? Can I use Swing?
I know SWT does not support Drag-N-Drop? What does Swing have, but SWT not?
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Is SWT built on Swing/AWT?


No. SWT is a completely separate implementation that doesn't build on either AWT or Swing.

Do I have to use SWT to wirte plug-ins for Eclipse? Can I use Swing?


Since Eclipse is written in SWT, if your plug-in has GUI elements, it would probably fit in better if you did it in SWT. You could always have an SWT button or menu in Eclipse launch a Swing JFrame, or you could use something like SwingWT, but it would probably fit better with SWT.

I know SWT does not support Drag-N-Drop?

No, it really does.

What does Swing have, but SWT not?

One of the biggest things I noticed missing was a JDesktopPane/JInternalFrame replacement. The graphics context drawing capabilities were nowhere near as good as Graphics2D, though I have heard there have been some improvements in this area.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SWT Questions?