< prev index next >

modules/javafx.controls/src/main/java/javafx/scene/control/Dialog.java

Print this page
rev 10443 : 8177341: Fix typos in FX API docs
Reviewed-by:

@@ -342,11 +342,12 @@
 
         return Optional.ofNullable(getResult());
     }
 
     /**
-     * Hides the dialog.
+     * Closes this {@code Dialog}.
+     * This call is equivalent to {@link #hide}.
      */
     public final void close() {
         if (isClosing) return;
         isClosing = true;
 

@@ -414,11 +415,11 @@
 
         isClosing = false;
     }
 
     /**
-     * closes the dialog.
+     * Hides this {@code Dialog}.
      */
     public final void hide() {
         close();
     }
 
< prev index next >