颜色来源:https://www.cnblogs.com/linvan/p/10860538.html
//设置背景颜色
cellStyle3.setFillForegroundColor(IndexedColors.LIGHT_YELLOW.getIndex());
cellStyle3.setFillPattern(HSSFCellStyle.SOLID_FOREGROUND);
本文档介绍了如何在HSSFCellStyle中使用IndexedColors设置单元格背景色,包括fillForegroundColor和fillPattern方法的应用。
颜色来源:https://www.cnblogs.com/linvan/p/10860538.html
//设置背景颜色
cellStyle3.setFillForegroundColor(IndexedColors.LIGHT_YELLOW.getIndex());
cellStyle3.setFillPattern(HSSFCellStyle.SOLID_FOREGROUND);
4844

被折叠的 条评论
为什么被折叠?