I have a Color object of some color (Awt) I want to set background of excel with above color
Lets say I have some color green, now my excel background should be green color.
but hssfstyle.setFillForegroundColor(bgColor); method accept only short value as parameter.
Is there anyway to get short value(index of color for excel style ) from Color object
I am using HSSFCellStyle
to set excel background.