Newbie alert...

I am trying to add a border to a rectangular group of cells. This is what I have guessed so far:

        style = wb.createCellStyle();
        style.setDataFormat(wb.createDataFormat().getFormat("text"));
        style.setBorderTop(CellStyle.BORDER_THICK);
        style.setBorderRight(CellStyle.BORDER_THICK);
        style.setBorderBottom(CellStyle.BORDER_THICK);
        style.setBorderLeft(CellStyle.BORDER_THICK);
        styles.put("framed", style);

Is there a way to apply the above style to a "super-cell"? I need only 4 THICK border lines, obviously, the exterior ones.

Thx,

-RFH




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to