Skip to content

Commit 9b82ecf

Browse files
authored
Merge pull request #979 from AdoptOpenJDK/dialog_ontop
OWS #608 #607 : Error Dialog on top.
2 parents aa51f44 + 59ee839 commit 9b82ecf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/src/main/java/net/adoptopenjdk/icedteaweb/client/BasicExceptionDialog.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ public static void show(final Exception exception) {
8686

8787
final JOptionPane optionPane = new JOptionPane(mainPanel, JOptionPane.ERROR_MESSAGE);
8888
final JDialog errorDialog = optionPane.createDialog(R("Error"));
89+
errorDialog.setAlwaysOnTop(true);
8990
errorDialog.setName("BasicExceptionDialog");
9091
SwingUtils.info(errorDialog);
9192
errorDialog.setIconImages(ImageResources.INSTANCE.getApplicationImages());

0 commit comments

Comments
 (0)