Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Create a cell style for the Excel tutorial on the SSaurel's Channel
Font headerFont = workbook.createFont();
headerFont.setBold(true);
headerFont.setFontHeightInPoints((short) 14);
headerFont.setColor(IndexedColors.RED.getIndex());
CellStyle headerCellStyle = workbook.createCellStyle();
headerCellStyle.setFont(headerFont);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment