Previous | Next | Trail Map | Creating a GUI with JFC/Swing | Converting to Swing

Conversion Resources

We provide these resources to help you convert your programs to Swing:
How Are Swing Components Different from AWT Components?(in the Creating a User Interface trail)
This page is in the Getting Started with Swing lesson. If you haven't already read it, consider reading it now. It provides useful background and architectural information that can put the conversion process in perspective.
Swing Replacements for AWT Components
Lists each AWT component and its Swing replacement, and contains notes to help with some of the simpler changes you might have to make to your code. Additionally, the table sometimes notes when you might want to upgrade to a more feature-ful Swing component. For example, you might want to replace an AWT text field with a Swing password field instead of a regular Swing text field.
General Conversion Tips
[PENDING: this page is under construction] Provides information about general conversion issues such as thread safety, painting, and so on.
Component-Specific Conversion Tips
[PENDING: this page is under construction] Provides details about converting specific components, like text areas, that tend to require more work to convert. It provides short examples where appropriate.
Some Conversion Examples
Shows how we converted some of the examples in the tutorial. Each example is a complete program--either an applet or an application.
Solving Common Conversion Problems
[PENDING: this page is under construction] Describes some common problems you might encounter during conversion and how to solve them.


Previous | Next | Trail Map | Creating a GUI with JFC/Swing | Converting to Swing