Should fixed #46

This commit is contained in:
huangyuhui
2016-03-05 21:43:54 +08:00
parent 6c0a446692
commit 5899c73ab8
4 changed files with 26 additions and 18 deletions

View File

@@ -225,9 +225,11 @@ public class TaskWindow extends javax.swing.JDialog
@Override
public void run() {
SwingUtilities.invokeLater(this::dispose);
suc = true;
HMCLog.log("Tasks are finished.");
SwingUtilities.invokeLater(() -> {
dispose();
suc = true;
HMCLog.log("Tasks are finished.");
});
}
@Override