The user-interface of application consists of three controls: a GridControl that displays the data from a text file, and a navigator to aid in browsing through the data, and a status area that displays messages.
This tutorial requires that you have a version of JBuilder that includes the JBuilder DataBroker database architecture components.
Note: All versions of JBuilder provide direct access to SQL data through the JavaSoft JDBC API. Some versions of JBuilder provide additional DataBroker components (on the Data Access tab of the Component Palette) that greatly simplify RAD visual development of database applications. Refer to the JBuilder product page from the Borland Web site for availability of features in each JBuilder version.
When you run your application, you'll notice the following behavior:
Note: Although the NavigatorControl includes a Save button, this button is dimmed for file-based data sources such as employee.txt. If we had connected to a true database in this example, the Save button would be available to save changes made to the data back to its database source. For more information on saving changes to a database, see Basic resolving in the Database Application Developer's Guide. For more information on saving changes to a data file, see Exporting data in the Database Application Developer's Guide.