void () { myTable = new JBTable(); myTableModel = new MyTableModel(); myTable.setModel(myTableModel); myTable.getSelectionModel().addListSelectionListener(e -> refreshValidatingComponent()); myTable.setCellSelectionEnabled(false); myTable.setColumnSelectionAllowed(false); myTable.setRowSelectionAllowed(false); myTable.getTableHeader().setReorderingAllowed(false); }