[SWINGX-1523] MultiSplitLayout.getNodeForName does not return correct value if root node is a leaf Created: 28/Aug/12  Updated: 28/Aug/12  Resolved: 28/Aug/12

Status: Resolved
Project: swingx
Component/s: SplitPane
Affects Version/s: 1.6.4
Fix Version/s: 1.6.5

Type: Bug Priority: Major
Reporter: Karl Schaefer Assignee: Karl Schaefer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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.



 Comments   
Comment by Karl Schaefer [ 28/Aug/12 ]

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.

Generated at Wed Sep 02 01:11:17 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.