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

SplitPane javadoc's code sample has errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0.2
    • Fix Version/s: fx2.0.2
    • Component/s: javafx
    • Labels:
    • Environment:

      2.0.2 b06

      Description

      1. "*" (star) sign at the end of the line

       sp3.getChildren().add(new Button("Button Three"));*

      2. wrong parameters, should be sp1, sp2, sp3 instead of:

       sp.getItems().addAll(sp1, sp1, sp2);

        Attachments

          Activity

            People

            Assignee:
            kwwong Kinsley Wong
            Reporter:
            sgrinev Sergey Grinev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: