Advertisement
lemansky

Untitled

Nov 13th, 2020
873
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.47 KB | None | 0 0
  1.     public Connect query = new Connect();
  2.     public DefaultTableModel t;
  3.     public ArrayList<String> data = new ArrayList<String>();
  4.     /**
  5.      * Creates new form Home
  6.      */
  7.     public Home() {
  8.         initComponents();
  9.         comboBoxSelect();
  10.         t = (DefaultTableModel) jTable1.getModel();
  11.         String[] columns = {"CustomerId", "FirstName", "LastName", "City", "Country", "Email"};
  12.         data = query.select(columns, "Customers");
  13.        
  14.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement