This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Single API for both SWT and Swing? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Single API for both SWT and Swing?" Watch "Single API for both SWT and Swing?" New topic
Author

Single API for both SWT and Swing?

Siegfried Heintze
Ranch Hand

Joined: Aug 11, 2000
Posts: 381
I'm writing a swing applet. If I want to run the same functionality embedded in a eclipse plug in, do I have to rewrite it in SWT or has someone else written a wrapper for Swing and SWT so I only have to write it once?
Thanks,
Siegfried
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

There are some very shaky, beta-level, works-only-on-some-platforms solutions for mixing Swing and SWT. Unless it's very complex, the easiest and in any event most reliable thing to do would be to rewrite it.


[Jess in Action][AskingGoodQuestions]
 
Don't get me started about those stupid light bulbs.
 
subject: Single API for both SWT and Swing?
 
Similar Threads
NX: Notes on a design that passed 389/400
SWT Questions?
Is SWT worth learning *instead of* Swing?
choosing the right application framework
SWT and swing