Overview
This is a
simple Ribs application to connect to a database using JDBC, select tables
and columns to build a query (or simply type one in), and view the results.
- App.java:
The main class of the app, handles launch and brings up viewer.
- DBViewer.java:
Wraps a UI around DBDataSource, including UI for connection info, query,
table/column exploration and results viewing.
- DBDataSource:
Handles actual JDBC calls.
- DBVwrTablesTreeModel:
A custom TreeModel for the view tables tree.
- DBVwrResultsTableModel:
A custom TableModel for the results table.
|