Created
February 26, 2018 13:58
-
-
Save ssaurel/94ce4704c6419980c121b176b8be0200 to your computer and use it in GitHub Desktop.
Create a cell style for the Excel tutorial on the SSaurel's Channel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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