The ITunesTableHeaderRenderer needs to set back the icon to NULL after the last
header value
was of type Icon. I changed the code like this to make it work:
if (value instanceof Icon) {
setIcon((Icon) value);
setText("");
setHorizontalAlignment(SwingConstants.CENTER);
} else {
setIcon(null); // <------
setText(value.toString());
setFont(fTable.getTableHeader().getFont());
setHorizontalAlignment(SwingConstants.LEFT);
}
Dirk
Original issue reported on code.google.com by dlemmermann@gmail.com on 22 Jun 2009 at 6:54
Original issue reported on code.google.com by
dlemmermann@gmail.com
on 22 Jun 2009 at 6:54