Jtable update selected row
问题 I have a jtable that has a edit button, when i select a row and clicked to edit button and edit fields, and click to save button, that row doesn't update, And i have to refresh my table to Change that row! My code: if (e.getSource() == editButton) { selectedRow = uTable.getSelectedRow(); if (selectedRow >= 0) { editUser(selectedRow); } else { JOptionPane.showMessageDialog(null, "Select a row"); } } public void editUser(int row) { UserInformation userInf = userModel.getSelectedMember(row);