diff options
author | Glen Stampoultzis <glens@apache.org> | 2002-03-12 10:39:49 +0000 |
---|---|---|
committer | Glen Stampoultzis <glens@apache.org> | 2002-03-12 10:39:49 +0000 |
commit | 7f27243404f4ea418ab03c94e33f5535b82c6860 (patch) | |
tree | ef8dd9ba80565c3ced1201a691e9f3a2c6bd634e | |
parent | 8fa2da53dafbec6c3db0c9604b45db068ece078a (diff) | |
download | poi-7f27243404f4ea418ab03c94e33f5535b82c6860.tar.gz poi-7f27243404f4ea418ab03c94e33f5535b82c6860.zip |
Small correction
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352206 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/examples/src/org/apache/poi/hssf/usermodel/examples/FrillsAndFills.java | 4 |
1 files changed, 2 insertions, 2 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 1bcfe0f008..dc4e88c0c0 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 @@ -78,7 +78,7 @@ public class FrillsAndFills // Aqua background HSSFCellStyle style = wb.createCellStyle(); - style.setFillBackgroundColor(HSSFColor.AQUA.index); + style.setFillBackgroundColor(HSSFCellStyle.AQUA); style.setFillPattern(HSSFCellStyle.BIG_SPOTS); HSSFCell cell = row.createCell((short) 1); cell.setCellValue("X"); @@ -86,7 +86,7 @@ public class FrillsAndFills // Orange "foreground", foreground being the fill foreground not the font color. style = wb.createCellStyle(); - style.setFillForegroundColor(HSSFColor.ORANGE.index); + style.setFillForegroundColor(HSSFCellStyle.ORANGE); style.setFillPattern(HSSFCellStyle.SOLID_FOREGROUND); cell = row.createCell((short) 2); cell.setCellValue("X"); |