LWN.net Logo

Swing and AWT, argh

Swing and AWT, argh

Posted May 22, 2006 17:13 UTC (Mon) by philips (guest, #937)
In reply to: Swing and AWT, argh by lauwenmark
Parent article: Harmony project to get a Swing/AWT implementation

> Underlining the deficiencies of Swing is one thing - but next time,
> try not to forget to also underline those of SWT to compare both.

Well, I'm not sure what kind of platform you run, Swing examples run dog slow and unresponsive on my Linux box (AMD64 X2). Anything more complicated than simple text editor is unusable due to very high latencies. (*). GVIM with syntax highlighting open on busy remote server over X protocol tunneled over ssh runs snappier than localy run Swing demos from Java SDK.

On side note, SWT thou not perfect, quite usable - here I'm judging by Eclipse - on both Windows and Linux. I personally use vim - but most of my friends use solely Eclipse with plug for C/C++ as their primary development environment. (**)

Probably Swing is designed better than SWT. It doesn't matter to me much since I haven't seen single worthy Java GUI application using Swing. And I have on network bunch using SWT.

(*) Okay, I'm touchtypist and quite sensitive to such stuff. Probably others are okay with the delays and flickering.

(**) Just recalled. Azureus - BitTorrent Java client - uses SWT and runs on Windows, Linux & Macs. I used it on many occasions on all of the aforementioned platforms. In other words, SWT much more portable than parent tries to imply.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds