A
Anabolik
I export the data from JTable to the Excel file and set some colors
for the cells. All works fine except the Excel 2007. The data is
exported, but colors are not. Can somebody help?
There is the code of setting the color:
style.setFillPattern(HSSFColor.LIGHT_YELLOW.index);
style.setFillBackgroundColor(HSSFColor.LIGHT_YELLOW.index);
style.setFillForegroundColor(HSSFColor.LIGHT_YELLOW.index);
for the cells. All works fine except the Excel 2007. The data is
exported, but colors are not. Can somebody help?
There is the code of setting the color:
style.setFillPattern(HSSFColor.LIGHT_YELLOW.index);
style.setFillBackgroundColor(HSSFColor.LIGHT_YELLOW.index);
style.setFillForegroundColor(HSSFColor.LIGHT_YELLOW.index);