Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Single API for both SWT and Swing?

 
Siegfried Heintze
Ranch Hand
Posts: 403
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic