Skip to main content

JTree.getSelectionPaths() returned value

No replies
ZinaAl
Offline
Joined: 2011-10-08
Points: 0

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?