Live sorting of JTable

前端 未结 4 1867
离开以前
离开以前 2020-12-28 23:14

I\'ve figured out how to get a JTable to be sorted properly, but I can\'t figure out how to get it to automatically update the sort order when a table cell is c

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-29 00:01

    probably the easiest way to get it sorted would be to call fireTableDataChanged() instead of fireTableCellUpdated().

提交回复
热议问题