• Post Reply Bookmark Topic Watch Topic
  • New Topic

Swing or awt?

 
ankittt agarwala
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you tell using swing is better or awt also tell the advantages......
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean SWT? or AWT?
I'm not in Java desktop realm but AFAIK, no one is using AWT directly.
Swing is the preferred framework (of course when talking about Swing & AWT , not SWT).
 
Greg Brannon
Bartender
Posts: 563
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Learn and do Swing.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greg Brannon wrote:Learn and do Swing.

I think it is a little better if you provide the OP with some more info than just saying learn and do
Why learn and do Swing?
My 2 cents.
 
Greg Brannon
Bartender
Posts: 563
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mr. Todd,

I accept your admonition and offer the following as amplification:

AWT versus Swing

From that (and other discussions easily found by Googling), I encourage one to draw their own conclusions. I based my own opinion on 1) personal experience, and 2) my conclusion that Swing is an extension of AWT that improves on it and gives the programmer more capability. I haven't seen a good argument against my number 2, but I am sure there are those who have an opposite opinion.
 
Rob Spoor
Sheriff
Posts: 20817
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Swing has more powerful controls. Sure, AWT has List, Choice, Checkbox and Menu to match Swing's JList, JComboBox, JCheckBox / JRadioButton and JMenu, but there's no equivalent for JTable, JTree, JDesktopPane / JInternalFrame, JSplitPane and many others.
 
ankittt agarwala
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya thanks all for tose replies and i will blame credit you if swing goes better..........
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!