Using data-aware components

To create a database application, you first need to connect to a database and provide data to a DataSet. Providing data sets up a query that can be used as a starting point for any of the discussions in this chapter.

JBuilder provides many data-aware versions of JFC components. Many of these components are located on the JBCL tab of the Component palette. To use these components,

  1. Select the Frame file. Click the Design tab.
  2. Select the component on the Component palette.
  3. Click in the UI Designer to place the component in the application.
  4. Select the component in the Component tree.
  5. Set the component's dataSet and/or columnName properties in the Inspector to bind the component to an instantiated DataSet.

The following list provides a few of the components that can be made aware of data in a data set:

Topics discussed in this chapter include: