Hi,
i would like to set border in black like this:
...
cell2 = row2.createCell(2);//on l'écrit à la colonne 2 (semaine 51)
cell2.setCellValue(tabheures[1][z]/24.0);
cellStyle = wb2.createCellStyle();
cellStyle.setDataFormat(fmt.getFormat("hh:MM"));
*cellStyle.setBorderBottom(BorderStyle.THIN);
cellStyle.setBottomBorderColor(IndexedColors.BLACK.getIndex());*cellStyle.setAlignment(HorizontalAlignment.CENTER);
cell2.setCellStyle(cellStyle);
...
but i didn't have border.
Is it good ?
Thanks
--
View this message in context:
http://apache-poi.1045710.n5.nabble.com/to-set-border-in-black-tp5622803p5622803.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]