Hi:

I am trying to set the back ground color and I got an
compiling error said:

Error #: 300 : variable AQUA not found in class
org.apache.poi.hssf.usermodel.HSSFCellStyle

I downloaded the 1.6 version of POI API, and I could
not find any color related field in the HSSFCellStyle
class in the java doc. Following is my code, thanks



HSSFWorkbook newWB = new HSSFWorkbook();
HSSFSheet newSheet = newWB.createSheet();

HSSFCell cell, newCell;
HSSFRow row, newRow;

row = newSheet.createRow((short)0);
cell = row.createCell((short)0);
HSSFCellStyle style = newWB.createCellStyle();
style.setFillBackgroundColor(HSSFCellStyle.AQUA);

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to