better positioning of dialog on the screen
[instantlauncher.git] / src / main / java / eu / svjatoslav / instantlauncher / menu / MultiLevelMenu.java
index fa200da..9485528 100755 (executable)
@@ -120,7 +120,7 @@ public class MultiLevelMenu implements MenuListener {
                     Runtime.getRuntime().exec(c);
                     InstantLauncher.exitProgram();
                 } catch (final IOException e) {
-                    ExceptionDialog.showException(e);
+                    new ExceptionDialog(e);
                 }
 
             } else {
@@ -147,7 +147,7 @@ public class MultiLevelMenu implements MenuListener {
                 InstantLauncher.exitProgram();
 
             } catch (final IOException e) {
-                ExceptionDialog.showException(e);
+                new ExceptionDialog(e);
             }
         } else {
             chosenFile.setExecutable(!chosenFile.canExecute());