From 5748dfe39204a7ca81b9f32830c8ac5f6c63f955 Mon Sep 17 00:00:00 2001 From: Jason Height Date: Tue, 23 Aug 2005 03:44:59 +0000 Subject: [PATCH] Minor javadoc update git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353772 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java b/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java index 530b85718..73616f559 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java @@ -806,12 +806,12 @@ public class HSSFCellStyle * For example: *
      * cs.setFillPattern(HSSFCellStyle.FINE_DOTS );
-     * cs.setFillBackgroundColor(HSSFCellStyle.RED);
+     * cs.setFillBackgroundColor(new HSSFColor.RED().getIndex());
      * 
* or, for the special case of SOLID_FILL: *
-     * cs.setFillPattern(HSSFCellStyle.SOLID_FILL );
-     * cs.setFillForgroundColor(HSSFSeCellStyle.RED);
+     * cs.setFillPattern(HSSFCellStyle.SOLID_FOREGROUND );
+     * cs.setFillForegroundColor(new HSSFColor.RED().getIndex());
      * 
* It is necessary to set the fill style in order * for the color to be shown in the cell.