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
Post a Comment