int lastRow,
int firstCol,
int lastCol) {
//データの入力規則を設定するセルを設定する
CellRangeAddressList addressList = new CellRangeAddressList(firstRow, lastRow, firstCol, lastCol);
DVConstraint constraint = DVConstraint.createExplicitListConstraint(list);
HSSFDataValidation validation = new HSSFDataValidation(addressList, constraint);
validation.setEmptyCellAllowed(true);
validation.setSuppressDropDownArrow(false);
sheet.addValidationData(validation);
}