The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


RE : diff between awt and swing

Posted by Pierre on June 18, 2001 at 4:32 AM

> can anyone explain the difference between the
> choice in the awt and combobox in swing??
Well at the beginning there was only awt.
Swing is newer better designed... but available only as a
separate lib for jdk1.1 and has been included
only in Java2(jdk1.2 or later).
If you don't care about making an app that work relying only
on the jdk1.1 libs use swing.
For instance you can do a lot more with a combobox than with
a choice (chose how the list is render, ad tooltips .....)

  • reply jagjit June 18, 2001 at 11:23 AM (0)
  • reply jagjit June 18, 2001 at 11:23 AM (0)

Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us