Sample Application: The Table Browser Application

The application demonstrated here uses the Swing API to create a GUI window that displays the results of a query in a tabular format and allows the user to modify those results and apply updates to the database (see Figure 30-6). The user can delete rows from the table display and have those deletes applied to the database table. The user can also insert rows into the table display and have those inserts applied along with other updates directly to the database table.

Figure 30-6. Table browser database application.

We will first look at a version of this application as a client/server type of application, ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.