Received: by 10.66.72.232 with SMTP id g8mr2030795pav.23.1355086311375; Sun, 09 Dec 2012 12:51:51 -0800 (PST) Received: by 10.50.154.132 with SMTP id vo4mr1844007igb.7.1355086311328; Sun, 09 Dec 2012 12:51:51 -0800 (PST) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!kt20no7015771pbb.1!news-out.google.com!6ni32752pbd.1!nntp.google.com!kr7no6005001pbb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Sun, 9 Dec 2012 12:51:50 -0800 (PST) In-Reply-To: <50c1ef83$0$283$14726298@news.sunsite.dk> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T NNTP-Posting-Host: 69.28.149.29 References: <50c1ef83$0$283$14726298@news.sunsite.dk> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: AWT or Swing or Any other ? From: Lew Injection-Date: Sun, 09 Dec 2012 20:51:51 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: csiph.com comp.lang.java.programmer:20198 Arne Vajh=F8j wrote: >Sourabh Mhaisekar wrote: >> Hi there, I am relatively new into java world. I need to build a DSS >> system in java. Am confused about which GUI tool should I use. AWT, >> Swing or Any other third party tool. >=20 > legacy developer skills + tight schedule or need to support old Java=20 > versions =3D> Swing >=20 > otherwise =3D> JavaFX I mostly agree with Arne, except I expand the use cases for both. I suggest Swing for workhorse desktop applications, that is, anything=20 where you need a good, solid, classic GUI framework. Even many new=20 apps will fall into this category sometimes. JavaFX is newer and flashier (pun intended). Arne is right to suggest pushing our developer skills in this direction. It is an emerging space.=20 The "legacy" Swing space is large and not done growing. (Large within the Java universe, that is. Ahem.) I've worked on many GUIs over the years including some intellectual=20 forebears of Swing - OPEN LOOK, Motif and similar. http://en.wikipedia.org/wiki/OPEN_LOOK Once you internalize the notions of event-driven programming=20 https://www.google.com/search?q=3Devent-driven+programming , in particular for Java in Swing and JavaBeans, it is pretty second-nature to program GUIs by hand. (Even in XML.) Then wizards like the ones=20 Eclipse (for Android) and NetBeans (for Swing) sport make more sense. Both Swing and JavaFX are based on the same programming principles. So the decision becomes one of feature support and platform availability=20 for your customers. --=20 Lew