Creating the ColorSwitch Application

See Also

This short tutorial guides you through the process of creating an application called ColorSwitch. You will build a simple program that enables you to switch the color of a panel from light gray to medium gray to black.

Tip This tutorial uses the Form Editor. The Form Editor might not be available in your version of the IDE. If it is available, you will see a GUI Editing workspace tab in the main window. If it is not available, you can enable the Form Editor module by choosing Tools and choose Update Center.

During the process of creating ColorSwitch, you will learn how to do these tasks:

  1. Create a container from a template and place it in a project
  2. Select a layout manager, add label and button components to a container, edit the component properties, and create connections between the components
  3. Edit Java source code by adding the event handler code
  4. Compile and run an application
  5. View the class hierarchy, if desired
  6. Step through source code using the debugger

This tutorial takes less than an hour to complete.

Next:   Creating a Container
See Also
IDE Overview
Key Concepts
Starting with the Basic IDE Tasks

Legal Notices