New to Java? We'll help you get started with our revised beginner's tutorial, or our free online textbook.
|
Get the latest Java books |
|
h t t p : / /w w w . j a v a c o f f e e b r e a k . c
o m /
|
Menu Articles Using Java Applets Looking for Java resources? Check out the Java Coffee Break directory! |
Wrapping it all upSwing offers developers substantial advantages over the existing AWT package. Not only are there a much wider range of components, but developers (and users) have much greater control over how they appear. A button, for example, can contain an images as well as a label. A frame can have a special border around it. There are plenty of great reasons to migrate your AWT applications to Swing, or to develop future projects with a Swing GUI. However, remember that older Java Virtual Machines do not include the Swing API - and this includes most web browsers at the moment. You'll also need to include Swing with your applications if you plan to offer JDK1.1 compatible versions of your software. |
||||
|