From 14940151f72067a0206a1302ccbf027a6db173c8 Mon Sep 17 00:00:00 2001 From: "Andrew C. Oliver" Date: Tue, 12 Mar 2002 01:01:09 +0000 Subject: [PATCH] I got your back brother glen! git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352204 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hssf/usermodel/examples/FrillsAndFills.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6cf7857b4..1bcfe0f00 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);