import org.apache.poi.hssf.usermodel.HSSFFont;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.hssf.util.HSSFColor;
+import org.apache.poi.ss.usermodel.FillPatternType;
/**
* Sheet Viewer Table Cell Editor -- not commented via javadoc as it
Font font = new Font(f.getFontName(),fontstyle,fontheight);
editor.setFont(font);
- if (style.getFillPattern() == HSSFCellStyle.SOLID_FOREGROUND) {
+ if (style.getFillPatternEnum() == FillPatternType.SOLID_FOREGROUND) {
editor.setBackground(getAWTColor(style.getFillForegroundColor(), white));
} else editor.setBackground(white);