Start of Tutorial > Start of Trail |
Search
Feedback Form Examples Index |
This lesson tells you how to convert your AWT-based programs to use the Swing components. If a program was written for JDK 1.0 -- meaning that instead of using the event listening system introduced in JDK 1.1, it uses methods such ashandleEvent
andaction
-- you should convert the program to the newer event system first. Refer to Migrating to 1.1 for information and instructions on updating 1.0 programs.
Swing components provide many benefits to programmers and end users. For a list of Swing features, see Swing Features and Concepts. Another good resource is the How Are Swing Components Different from AWT Components? section. Unless you have a good reason not to convert, we urge you to convert to Swing components as soon as possible.
This section outlines a procedure for converting your programs to Swing.
This section provides several resources to help you with your conversion, including examples.
Like the name says, this section lists some common gotchas, along with their solutions.
Start of Tutorial > Start of Trail |
Search
Feedback Form Examples Index |
Copyright 1995-2002 Sun Microsystems, Inc. All rights reserved.