I have CellRenderers implemented for sorting Jtable columns..
In my panel.. i have a clear button which will clear table contents and should also clear the cell renderers on the columns already present..
On click of clear button i tried to initialise the CellRenderers again on the colums...
But on clicking the column headers for sorting.. the column listeners are getting caled twice and so the sorting does not happen..
The code snippet of initialising renderer is as below..