Hi,
I want multi line headers for a table with header icons. For multiline headers I am extending the renderer class to a JList & it implements the TableCellRenderer interface.
The problem is, it is showing me the multiline header for each column but when I click on any one of the headers it shows me the same icon twice for a single header. Is there any way out wherein I can just display the icon once on a mouse click.
I think the problem is b'coz the renderer is being called twice - once when the table is initialised for showing the multi line header & the other on a mouse click for displaying the icon.
Can anyone suggest me as to why is this happening...
Any help will be appreciated..
Thanx.
Regards,
-Neha.