Convert a Java Swing Application

1,461 views
Skip to first unread message

mbauer

unread,
Jun 25, 2009, 10:55:33 AM6/25/09
to Google Web Toolkit
Hello,

can I use Google Web Toolkit to convert a Java Swing Application? Has
already anybody convert an application? Can anybody give me some
information? Thank you!

romant

unread,
Jun 26, 2009, 2:13:30 AM6/26/09
to Google Web Toolkit
> can I use Google Web Toolkit to convert a Java Swing Application?

It depends on the complexity and functionality of your Swing
application, but generally I would say yes, you can. Of course you
must take into account that the set of components which GWT offers is
different than the set which is available in Swing. So your Swing
application will have to be adjusted a bit. But if you use some
component library for GWT this limitation can almost disappear.

> Has already anybody convert an application?

Yes, I converted a Swing application which provided some accounting
functionality. Firstly you should consider what functionality your
Swing application provides and how to move it (if it is even possible)
to the web environment. Then the user interface will have to be
probably adjusted a bit so that it can be implemented using the
available GWT components, but this is not such a big problem.

> Can anybody give me some information?

You've just got some.

DaBlick

unread,
Jun 29, 2009, 1:42:49 PM6/29/09
to Google Web Toolkit
I would suggest that you consider using the Ext-GWT component library
instead of the native GWT components. Ext-GWT (also known as GXT)
provide a far more "Swing-like" approach (MVC, etc.) to GUI's than GWT
components.

I definitely believe it's a shorter "leap" from Swing to Ext-GWT than
to GWT.

Ivan Ooi

unread,
Jun 30, 2009, 5:41:19 AM6/30/09
to Google-We...@googlegroups.com
 I think smart client better in term of licensing. it is LGPL.

http://www.smartclient.com/smartgwt/

where Ext-GWT are under GPL. means you need an extra license for commercial use.

koollx

unread,
Jul 1, 2009, 12:12:06 AM7/1/09
to Google Web Toolkit
You should check out AjaxSwing, which automatically converts Swing
application to web application at runtime. This requires virtually no
code changes and you'll actually have a dual client - GUI client with
Swing and AJAX client with AjaxSwing.

http://www.ajaxswing.com/
Reply all
Reply to author
Forward
0 new messages