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);

 

posted @ 2018-12-10 19:14  暗渡陈仓xy  阅读(2030)  评论(0编辑  收藏  举报