summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew C. Oliver <acoliver@apache.org>2002-03-12 01:01:09 +0000
committerAndrew C. Oliver <acoliver@apache.org>2002-03-12 01:01:09 +0000
commitf6f795559560ccc058d2f28d33b70f05f4850364 (patch)
tree3e1912a18fe79dbc98850ff9002602253fcb64dc
parent8464761133aae023e7e052fe38e2f39ed22b964a (diff)
downloadpoi-f6f795559560ccc058d2f28d33b70f05f4850364.tar.gz
poi-f6f795559560ccc058d2f28d33b70f05f4850364.zip
I got your back brother glen!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352204 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/examples/src/org/apache/poi/hssf/usermodel/examples/FrillsAndFills.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/src/org/apache/poi/hssf/usermodel/examples/FrillsAndFills.java b/src/examples/src/org/apache/poi/hssf/usermodel/examples/FrillsAndFills.java
index 6cf7857b44..1bcfe0f008 100644
--- a/src/examples/src/org/apache/poi/hssf/usermodel/examples/FrillsAndFills.java
+++ b/src/examples/src/org/apache/poi/hssf/usermodel/examples/FrillsAndFills.java
@@ -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);