]> source.dussan.org Git - poi.git/commitdiff
I got your back brother glen!
authorAndrew C. Oliver <acoliver@apache.org>
Tue, 12 Mar 2002 01:01:09 +0000 (01:01 +0000)
committerAndrew C. Oliver <acoliver@apache.org>
Tue, 12 Mar 2002 01:01:09 +0000 (01:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352204 13f79535-47bb-0310-9956-ffa450edef68

src/examples/src/org/apache/poi/hssf/usermodel/examples/FrillsAndFills.java

index 6cf7857b44bb4e9c09bb7f678b1fc96eac131ec1..1bcfe0f008ecadd8a245aac3d50fbf47296b5d80 100644 (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);