public class Database
extends java.lang.Object
GUI
Modifier and Type | Field and Description |
---|---|
java.lang.Object[] |
columns
String array used to hold the column names for the table.
|
private java.sql.Connection |
conn
Connection object used to interact with the database.
|
private java.lang.Object[][] |
databaseResults
Object array used to hold the results retrieved from the database.
|
javax.swing.table.DefaultTableModel |
defaultTableModel
The table model used for manipulation of the JTable.
|
java.sql.ResultSet |
rows
ResultSet that holds the information retrieved from database.
|
Constructor and Description |
---|
Database()
Database constructor
|
private java.lang.Object[][] databaseResults
public java.sql.ResultSet rows
public java.lang.Object[] columns
public javax.swing.table.DefaultTableModel defaultTableModel
private java.sql.Connection conn