Posted Monday, November 6, 2006 @ 01:35:32
Strange, I am able to align the data, however this does not align the header. Example:
membersDBtable.setCellPropertiesModel(new CellPropertiesModel(){
public int getAlignment(int row, int col){
if(col==0||col==5||col==6||col==8){
return SwingConstants.RIGHT;
}
return super.getAlignment(row,col);
}
});
How do I align the header?