addDataToTable(null);
addDataToTable(null, db, database);
	public void addToTable(String tablename, String database) {		this.tablename = tablename;		if (!init)			initTable();		while (true) {			TreeIter item = ls.getIter("0");			if (item == null)				break;			ls.removeRow(item);		}		try {			Class.forName(JDBMain.DB_DRIVER);			Connection mysql = DriverManager.getConnection(JDBMain.DBURL, JDBMain.DBUSER, JDBMain.DBPASSWORD);			DatabaseMetaData dbmeta = mysql.getMetaData();			System.out.println("Getting columns for table: " + tablename);			ResultSet rs = dbmeta.getColumns("", "ECLUB2", tablename, null);			columnnames = new LinkedList();			while (rs.next()) {				String columnname = rs.getString("COLUMN_NAME");				columnnames.add(columnname);				System.out.println("Adding column to array: " + columnname);			}			addColumns(columnnames);			addDataToTable(null);			rs.close();			mysql.close();			list.showAll();		} catch (ClassNotFoundException e) {			e.printStackTrace();		} catch (SQLException e) {			e.printStackTrace();		}	}