RowSorter not set in renderer
问题 I implement icon for sorting column in my jTable. I have a button for find result and i implement a default sorting when i launch the worker. Like this : public void refreshStripedViewTable(final List<FlightBox> boxList, final List<FlightBoxModel> boxesModels, final String sortBy) { if (boxList != null && !boxList.isEmpty()) { stripedViewTableModel.setContent(boxesModels); tableRenderer.setStripedViewModelList(boxesModels); final RowSorter<? extends TableModel> sorter = tableFacade