I found out, that if you fire a dataChanged() or structureChanged() event on your tableModel, the icon (sometimes) gets updated ;-)
Sometimes getTableHeader().repaint() helps too. Maybe you can use this hack until the bug gets fixed. Regards Daniel -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Janak Mulani Sent: Montag, 16. Oktober 2006 15:39 To: Hofmann, Torsten Cc: [email protected] Subject: RE: [ULC-developer] Error setting icon on tableheader Hi Torsten, This is a known issue: https://www.canoo.com/jira/browse/UBA-7070. Basically you have to force a repaint on the table after you have set the header renderer on a column. Thanks and regards, Janak >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Hofmann, >Torsten >Sent: Thursday, October 12, 2006 5:49 PM >To: [email protected] >Subject: [ULC-developer] Error setting icon on tableheader > > >Hello > >I try to set an icon on a tableheader (for sorting) but only when i >resize my Frame the icon is repainted. Could someone tell me what is >the reason??? > >I have an ActionListener von the tableheader to listen to the events. >Table.getTableHeader().addActionListener(); > >Regards > >Torsten Hofmann >Dipl. - Informatiker (FH) >IT Consultant Business Integration > >Würth Phoenix GmbH >Drillberg 6 >D-97980 Bad Mergentheim > >Phone: +49 7931 91 6284 >Fax: +49 7931 91 7284 >E-Mail: [EMAIL PROTECTED] >Website: www.wuerth-phoenix.de > >_______________________________________________ >ULC-developer mailing list >[email protected] >http://lists.canoo.com/mailman/listinfo/ulc-developer _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
