Skip to main content

JTree.getSelectionPaths() returned value

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
ZinaAl
Offline
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?