java poi给sheet表格中的某个单元格添加批注

java poi给sheet表格中的某个单元格添加批注

Label l = new Label(0, 57, "A cell with a comment");
 
WritableCellFeatures cellFeatures = new WritableCellFeatures();
 
cellFeatures.setComment("the cell comment");
 
l.setCellFeatures(cellFeatures);