To make your Java applications inviting to today's users, you're going to want to create graphical user interfaces (GUIs) for them.
To do that, you use components from Java's Swing library. And in NetBeans, you have what many consider to be the leading tool for building GUIs using Swing components, the Swing GUI Builder.
So this chapter teaches you the basics of using Swing and the Swing GUI Builder to create user-friendly interfaces, or forms.
How to develop a form
introduction to Swing
The user interface for the Future Value
The inheritance hierarchy for Swing
to design a form
How to create a project for a GUI application
How to add a form to a project
How to add controls to a form
How to set properties
Common properties for forms and controls
to add code to a form
How to set the variable name for a control
How to create an event handler for a control
How to rename or remove an event handler
How to enter the code for a form
Common methods for controls
How to display and center a form
The code for the FutureValueFrame class
How to validate Swing input data
How to display error messages
How to validate the data entered into a text field