Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Differnece between AWT and Swing ??

 
Saurabh Agrawal
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends ,
Another one for u all .. give it a try ..
What is the difference between AWT and Swing?
Thx,
Saurabh
 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey man, let me introduce you to http://www.google.com -- it's extremely handy for simple questions like this. I found your answer in a second by typing in the following:
difference between awt and swing
There are many decent results on the first page or so, and one of them is straight from Sun's website:
http://java.sun.com/products/jfc/faq.html#what_swing
I also found some good replies by searching the beginner forum on Javaranch:
http://www.coderanch.com/t/387737/java/java/Difference-Between-JFC-AWT-Components
http://www.coderanch.com/t/390113/java/java/AWT-vs-Swing
This last post points to an article at Sun's site. If you want to know a really basic answer, then AWT is the old original GUI stuff, and Swing is the newer stuff (now many years old). Swing is part of the so-called JFC, in case you get confused by hearing about that.
From now on, always search first and ask questions only when you can't find the answers! Don't worry--we've probably all done this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic