public static Object[] getData(int index, final JTable table) {
		DefaultTableModel model = (DefaultTableModel)table.getModel();
		Object[] rowData = new Object[model.getColumnCount()];
		for (int i = 0; i < rowData.length; i++) {
			rowData[i] = model.getValueAt(index, i);
		}
		return rowData;
	}