Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #20198

Re: AWT or Swing or Any other ?

Newsgroups comp.lang.java.programmer
Date 2012-12-09 12:51 -0800
References <d0be45d1-31a2-40c2-bb52-b0dc5f7b87e7@googlegroups.com> <50c1ef83$0$283$14726298@news.sunsite.dk>
Message-ID <cd2015cc-fe9e-42e7-b28d-b0fa996f308c@googlegroups.com> (permalink)
Subject Re: AWT or Swing or Any other ?
From Lew <lewbloch@gmail.com>

Show all headers | View raw


Arne Vajhøj 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.
> 
> legacy developer skills + tight schedule or need to support old Java 
> versions => Swing
> 
> otherwise => JavaFX

I mostly agree with Arne, except I expand the use cases for both.

I suggest Swing for workhorse desktop applications, that is, anything 
where you need a good, solid, classic GUI framework. Even many new 
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. 
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 
forebears of Swing - OPEN LOOK, Motif and similar.

http://en.wikipedia.org/wiki/OPEN_LOOK

Once you internalize the notions of event-driven programming 

https://www.google.com/search?q=event-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 
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 
for your customers.

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

AWT or Swing or Any other ? Sourabh Mhaisekar <sourabh8044@gmail.com> - 2012-12-07 00:53 -0800
  Re: AWT or Swing or Any other ? Arne Vajhøj <arne@vajhoej.dk> - 2012-12-07 08:30 -0500
    Re: AWT or Swing or Any other ? Lew <lewbloch@gmail.com> - 2012-12-09 12:51 -0800
      Re: AWT or Swing or Any other ? Lew <lewbloch@gmail.com> - 2012-12-09 13:14 -0800
      Re: AWT or Swing or Any other ? Arne Vajhøj <arne@vajhoej.dk> - 2012-12-09 17:21 -0500
      Re: AWT or Swing or Any other ? Roedy Green <see_website@mindprod.com.invalid> - 2012-12-09 19:17 -0800
        Re: AWT or Swing or Any other ? Arne Vajhøj <arne@vajhoej.dk> - 2012-12-10 12:00 -0500
          Re: AWT or Swing or Any other ? Lew <lewbloch@gmail.com> - 2012-12-10 11:20 -0800
            Re: AWT or Swing or Any other ? Roedy Green <see_website@mindprod.com.invalid> - 2012-12-11 18:40 -0800
              Re: AWT or Swing or Any other ? Lew <lewbloch@gmail.com> - 2012-12-11 19:28 -0800
  Re: AWT or Swing or Any other ? Roedy Green <see_website@mindprod.com.invalid> - 2012-12-08 00:42 -0800
    Re: AWT or Swing or Any other ? Arne Vajhøj <arne@vajhoej.dk> - 2012-12-09 17:34 -0500
      Re: AWT or Swing or Any other ? Arne Vajhøj <arne@vajhoej.dk> - 2012-12-10 15:46 -0500

csiph-web