A user found two issues with the document:
On the JavaFX tutorial page:
http://docs.oracle.com/javafx/2.0/fxml_get_started/fxml_tutorial.htm
1) it states "with the text Label Example,...". This should be Login Example.
2) it states "The getResources argument adds...". It's really the
getBundle() argument or "resources" argument as it is called in
http://docs.oracle.com/javafx/2.0/api/javafx/fxml/FXMLLoader.html
3) The Description of Figure 1-1 ( http://docs.oracle.com/javafx/2.0/fxml_get_started/img_text/borderpane_simple_example.htm ) seems to be missing some words (in bold below):
The layout class, BoderPane, is defined with two regions, top and center. The top region includes the label "Page Title". The center region includes the label "Some data here".
4) In http://docs.oracle.com/javafx/2.0/fxml_get_started/img_text/login_screen_layout32.htm :
"The scene graph root is a layout class, BordePane, defined with two regions, top and center."
should be BorderPane
5) "The solution is to add a reference (and associated import) for the text field in the FXMLExampleController class, and then add an if/else statement to check if that text field is blank ( .equals("") )."
should use the method .isEmpty() instead
On the JavaFX tutorial page:
http://docs.oracle.com/javafx/2.0/fxml_get_started/fxml_tutorial.htm
1) it states "with the text Label Example,...". This should be Login Example.
2) it states "The getResources argument adds...". It's really the
getBundle() argument or "resources" argument as it is called in
http://docs.oracle.com/javafx/2.0/api/javafx/fxml/FXMLLoader.html
3) The Description of Figure 1-1 ( http://docs.oracle.com/javafx/2.0/fxml_get_started/img_text/borderpane_simple_example.htm ) seems to be missing some words (in bold below):
The layout class, BoderPane, is defined with two regions, top and center. The top region includes the label "Page Title". The center region includes the label "Some data here".
4) In http://docs.oracle.com/javafx/2.0/fxml_get_started/img_text/login_screen_layout32.htm :
"The scene graph root is a layout class, BordePane, defined with two regions, top and center."
should be BorderPane
5) "The solution is to add a reference (and associated import) for the text field in the FXMLExampleController class, and then add an if/else statement to check if that text field is blank ( .equals("") )."
should use the method .isEmpty() instead