Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8115381

Bugs, typos and inconsistencies in the API docs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u6
    • fx2.1
    • javafx

      The user reports the following typos, bugs, and inconsistencies in the API documentation:
      1. Select the javafx.scene.layout package and the FlowPane class in the left-hand Classes panel.
      2. Click the Next Class link
      3. You will see the the private static classes such as FlowPane.LayoutRect, FlowPane.Run, and FlowPane.StyleableProperties instead of the next class from the current package shown in the Classes panel.

      A typo in the HBox class description: defaults instead of defaults in the sentence: The alignment of the content is controlled by the alignment property, which defaulst to Pos.TOP_LEFT.

      Class TilePane - the user complaints the last example is incorrect - it's not clear where from the title and imageView args are obtained:

      TilePane tilepane = new TilePane();
           for (int i = 0; i < 20; i++) {
              Label label = new Label(imageTitle[i]):
              TilePane.setAlignment(label, Pos.BOTTOM_RIGHT);
              tilepane.getChildren().addAll(title, imageview[i]);
           }

            kwwong Kinsley Wong (Inactive)
            ifedortsova Irina Fedortsova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: