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

SplitPane example in docs refers to getChildren() whereas the method is getItems()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:

      Description

      In the Javadocs for the SplitPane class there is an example that uses the getChildren() method in the SplitPane class. I'm not sure why, but in SplitPane the method is called getItems() not getChildren(), so the documentation is wrong.

      Also, the description for the setOrientation() method refers to values of true and false whereas the parameter is of type Orientation.

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            dgilbertjfx David Gilbert (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: