java - JTableheader with checkable and sortable column -


i have jtable headers sortable, below code have used:

tablerowsorter<foldermodel> sorter = new tablerowsorter<foldermodel>(foldermodel); setrowsorter(sorter); 

one column header has checkbox, rendered custom renderer, check , uncheck column values.

i have choose different gesture distinguish between check/uncheck , sorting. think single click sort , double click check/uncheck, problem double click fires sorting. solution possible?

thanks trashgod realized it's bad idea trying overload header column checkbox when headers sortable too. it's better put checkbox outside table.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -