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

A typo in the BorderPane class description

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u15
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      Windows

      Description

      The BorderPane class has the following list to describe the alignment of nodes in its five regions:

      top: Pos.TOP_LEFT
      bottom: Pos.BOTTOM_LEFT
      left: Pos.TOP_LEFT
      top: Pos.TOP_RIGHT
      center: Pos.CENTER

      The fourth item in the above list should read "right: Pos.TOP_RIGHT", not "top: Pos.TOP_RIGHT".

      There is another typo under the "Resizable Range" section of the BorderPane class. The description in the cell (row = preferred, column = width) contains the "display" word twice.

      Original text:
      "left/right insets plus width required to display display top/right/bottom/left/center children with at least their pref widths"

      Corrected text:
      "left/right insets plus width required to display top/right/bottom/left/center children with at least their pref widths"

        Attachments

          Activity

            People

            Assignee:
            ekrejcir Eva Krejčířová (Inactive)
            Reporter:
            ksharanjfx Kishori Sharan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: