Is there any easy way of getting a File (or java.nio.file.Path, for that matter) from a TreePath?
File
java.nio.file.Path
TreePath
For example, you have a JT
JT
I think your stuck with making your own method.
public static String createFilePath(TreePath treePath) { StringBuilder sb = new StringBuilder(); Object[] nodes = treePath.getPath(); for(int i=0;i