public String[][] productdata(JXTreeTable treeTable, Boolean[] bflag) {
		String[][] datas = new String[treeTable.getRowCount()][treeTable
				.getColumnCount() + 1];
		for (int i = 0; i < treeTable.getRowCount(); i++) {
			for (int j = 0; j <= treeTable.getColumnCount(); j++) {
				if (j < treeTable.getColumnCount()) {
					datas[i][j] = treeTable.getValueAt(i, j).toString();
				} else {
					if (bflag[i]) {
						datas[i][j] = "1";
					} else {
						datas[i][j] = "0";
					}
				}
			}
		}
		return datas;
	}