• Post Reply Bookmark Topic Watch Topic
  • New Topic

AWT

 
josephine chen
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are AWT and Swings related?? How necessary is it for me to learn AWT from work point of view??
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They're very much related - much of Swing is built on AWT, using many of its classes and methods. You can't use Swing without knowing some AWT, especially the Component and Container classes, and layout managers. It's possible to use AWT without Swing, but the only reason I know to do it is if you're using an older version of Java that doesn't support Swing - like many web browsers last time I checked (I dunno if that's still the case offhand).
How important is Swing for work? I guess it depends what sort of work you're doing, or want to do. If you want to be able to do any significant GUI work, I'd say it's pretty important. Many of the Swing components are much like AWT components, but more powerful. If you know AWT, picking up basic Swing stuff shouldn't take too long. It would take a long time to learn all there is to know about Swing, but you don't need to learn everything -- that's what the online API is for.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!