Skip to content

Commit

Permalink
update view
Browse files Browse the repository at this point in the history
  • Loading branch information
lhthang1998 committed Jan 12, 2019
1 parent d142404 commit 1a9507f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kitchen_app/src/Views/KitchenView.java
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 454,8 @@ public void actionPerformed(ActionEvent e) {
int id=Integer.parseInt(table.getValueAt(index, 0).toString());
controller.delete(id);
delete(index);
DefaultTableModel model=(DefaultTableModel)detailtable.getModel();
model.setRowCount(0);
}
}
else
Expand Down

0 comments on commit 1a9507f

Please sign in to comment.