Skip to content

Commit

Permalink
No issue. Minor update. Put process in a thread.
Browse files Browse the repository at this point in the history
  • Loading branch information
lff0305 committed Jul 17, 2017
1 parent 8df9cc4 commit 2010812
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/org/lff/plugin/dupfinder/Dialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,12 @@ public void actionPerformed(ActionEvent e) {

btnStart.addActionListener(l -> {
getWindow().setCursor(new Cursor(Cursor.WAIT_CURSOR));
javax.swing.SwingUtilities.invokeLater(() -> {
this.tableModel.clear();
this.listModal.clear();
new Thread(() ->{
boolean allowSameClassInDifferentModulesSelected = chkAllowSameClassInDifferentModules.isSelected();
this.tableModel.clear();
this.listModal.clear();
process(allowSameClassInDifferentModulesSelected);
});
}).start();
});
return panel;
}
Expand Down

0 comments on commit 2010812

Please sign in to comment.