Skip to main content

JTree.getSelectionPaths() returned value

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2011-10-08

Up to Java6 returned value of JTree.getSelectionPaths() was null if nothing selected in tree. In the Java 7 returned value in this case is empty array of TreePath instead of null. Is this a bug?