I have done some basic java programming in command-line and want to move to basic GUI programs, what do I need to learn (AWT or Swing)?
Is one easier to learn than the other?
Printable View
I have done some basic java programming in command-line and want to move to basic GUI programs, what do I need to learn (AWT or Swing)?
Is one easier to learn than the other?
No, not AWT. Go with Swing, definitely Swing.
I like your to-the-point answer, thanks.
What is wrong with AWT? Just out-dated?
AWT is very much out-of-date. Swing is somewhat out-of-date.
Learn AWT First, because the event handling continues in Swing and also, you will come to know the drawbacks of AWT in practical which helps you to have a better understand of what is Swing?
AWT is not out of date, in fact Swing uses AWT Event Handling.
This is completely unnecessary since the event handling can be studied and understood easily from within Swing. If you disagree, please post one example where this is false.
Yes, Swing is built on top of AWT, but it has flexibility and power that AWT will never have given its use of lightweight components and model-view separation.Quote:
AWT is not out of date, in fact Swing uses AWT Event Handling.