swingx
  1. swingx
  2. SWINGX-1523

MultiSplitLayout.getNodeForName does not return correct value if root node is a leaf

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.4
    • Fix Version/s: 1.6.5
    • Component/s: SplitPane
    • Labels:
      None

      Description

      If the root node for a MultiSplitLayout is a leaf, then getNodeForName always returns null, even if the query value is the name of the root node.

        Activity

        Hide
        Karl Schaefer added a comment -

        SWINGX-1523: Correct the return value for getNodeForName to allow single-leaf models to return themselves if correct to do so.

        swingx-core/src/main/java/org/jdesktop/swingx/MultiSplitLayout.java

        Committed revision 4238.

        Show
        Karl Schaefer added a comment - SWINGX-1523 : Correct the return value for getNodeForName to allow single-leaf models to return themselves if correct to do so. swingx-core/src/main/java/org/jdesktop/swingx/MultiSplitLayout.java Committed revision 4238.

          People

          • Assignee:
            Karl Schaefer
            Reporter:
            Karl Schaefer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: