summaryrefslogtreecommitdiffstats
path: root/src/demos/util/ScreenResSelector.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/util/ScreenResSelector.java')
-rwxr-xr-xsrc/demos/util/ScreenResSelector.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demos/util/ScreenResSelector.java b/src/demos/util/ScreenResSelector.java
index 07df833..5b085de 100755
--- a/src/demos/util/ScreenResSelector.java
+++ b/src/demos/util/ScreenResSelector.java
@@ -82,7 +82,7 @@ public class ScreenResSelector {
and requests selection of one of them. Returns the selected one. */
public static DisplayMode showSelectionDialog() {
SelectionDialog dialog = new SelectionDialog();
- dialog.show();
+ dialog.setVisible(true);
dialog.waitFor();
return dialog.selected();
}
@@ -186,7 +186,7 @@ public class ScreenResSelector {
synchronized(monitor) {
monitor.notify();
}
- hide();
+ setVisible(false);
dispose();
}
});
@@ -200,7 +200,7 @@ public class ScreenResSelector {
synchronized(monitor) {
monitor.notify();
}
- hide();
+ setVisible(false);
dispose();
}
});