I've searched for xlsx4j examples for this, but can't find anything other than this post, which is not a simple example
http://www.docx4java.org/forums/xlsx-java-f15/adding-style-information-crashes-excel-t647.html
I see how the styles are created and added to the workbook, but I can't figure out how you set a style on a cell. I've used the online code generator with a simple spreadsheet I created, but since it doesn't output the code for the entire xlsx file at once, I can't see how styles are associated with a cell.
Any simple example would be greatly appreciated. The version of xlsx4j is irrelevant, as I can use any version in my application.
Thanks.