Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Connect query = new Connect();
- public DefaultTableModel t;
- public ArrayList<String> data = new ArrayList<String>();
- /**
- * Creates new form Home
- */
- public Home() {
- initComponents();
- comboBoxSelect();
- t = (DefaultTableModel) jTable1.getModel();
- String[] columns = {"CustomerId", "FirstName", "LastName", "City", "Country", "Email"};
- data = query.select(columns, "Customers");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement