summaryrefslogtreecommitdiff
path: root/utils/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'utils/src/main/java')
-rw-r--r--utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java b/utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java
index 02b80fa7..674d8339 100644
--- a/utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java
+++ b/utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java
@@ -1,4 +1,5 @@
/*
+
* Copyright 2018 by Graz University of Technology, Austria
* MOCCA has been developed by the E-Government Innovation Center EGIZ, a joint
* initiative of the Federal Chancellery Austria and Graz University of Technology.
@@ -134,6 +135,8 @@ public class NewVersionDialog extends JDialog {
@Override
public void mouseClicked(MouseEvent e) {
openLink();
+ try { Thread.sleep(1000); } catch (InterruptedException e1) {}
+ close();
}
});
okButton.setActionCommand("OK");