I got your back brother glen!

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352204 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew C. Oliver 2002-03-12 01:01:09 +00:00
parent 8464761133
commit f6f7955595
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class FrillsAndFills
// Orange "foreground", foreground being the fill foreground not the font color.
style = wb.createCellStyle();
style.setFillForegroundColor(HSSFColor.ORANGE.index);
style.setFillPattern(HSSFCellStyle.SOLID_FILL);
style.setFillPattern(HSSFCellStyle.SOLID_FOREGROUND);
cell = row.createCell((short) 2);
cell.setCellValue("X");
cell.setCellStyle(style);