I am trying to set the background color of a worksheet tab using Apache POI. I can\'t seem to figure out how to set the style on the tabs themselves though.
Thanks f
As commented by Piotr,
to color tabs in POI 3.11 i had to use:
import org.apache.poi.ss.usermodel.IndexedColors;
sheet.setTabColor(IndexedColors.BLACK.getIndex());
(Note that it is "IndexedColors", not "IndexedColor" like showed by Piotr.)
here is a list showing the colors: http://jlcon.iteye.com/blog/1122538