Yah, thanks. I've just got it myself too;)
Thanks a lot,
Sergei Volin.
- Original Message -
From: "Robert Lowe" <[EMAIL PROTECTED]>
To: "POI Users List" <[EMAIL PROTECTED]>
Sent: Sunday, October 12, 2003 10:02 PM
Subject: RE: Setting foreground colors to cells individually failed
> You
You are using the same HSSFCellStyle object for each cell--you need to
create a different one for each cell:
for (int i=0; ihttp://RMLowe.com/
-Original Message-
From: Sergei P. Volin [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 1:37 AM
To: 'POI Users List'
Subject:
Hi,
I'm trying to write the test code to set foreground colors to cells in a column
individually. But failed - the whole column is displaied in one color, actually the
last that was applyed to the cell style. What's wrong with my code?
How to write this code correctly?
Thanks,
Sergei.