changeset 726:8076e4db0d6a

RT-20696: fixed code sample in documentation.
author Pavel Safrata
date Thu, 29 Mar 2012 08:33:20 +0200
parents edba48bc0a1c
children d0b8ead187d2
files javafx-ui-common/src/javafx/scene/package.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-common/src/javafx/scene/package.html	Wed Mar 28 12:32:30 2012 -0700
+++ b/javafx-ui-common/src/javafx/scene/package.html	Thu Mar 29 08:33:20 2012 +0200
@@ -87,7 +87,7 @@
         root.getChildren().add(circle);
         root.getChildren().add(text);
         stage.setScene(scene);
-        stage.setVisible(true);
+        stage.show();
     }
 
     public static void main(String[] args) {