posted 16 years ago
Here is the code for how to rotate the text..
and i am using following code to rotate the text.
table.getTableHeader().getColumnModel().getColumn(0).setHeaderRenderer(new RotatedTableCellRenderer(270));
the above code turns the text 270 degrees and the text is always align to right side and how to make it as center alingment.