Use a custom cell renderer. When row = -1, it's rendering your header.
-----Original Message-----
From: Pradeep, Chinnaswamiah <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, March 14, 2001 03:43
Subject: Rendering the JTableHeader
>Hi ,
>
> I am in need of JTableHeader which in addition to having
a
>text contains an image . The image of the JTableHeader has to
alternate
>between two images
>as and when the user clicks on it , the text remaining the same . Can
this
>be done ? Should I extend the DefaultCellRenderer or something else ?
>
>
>Thanks in advance
>Pradeep
>_______________________________________________
>Advanced-swing mailing list
>[EMAIL PROTECTED]
>http://eos.dk/mailman/listinfo/advanced-swing
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing