Issue OBJS16 (FileChooser expanding JTree bug) has just been modified by user rob...@ma...
You can view the issue detail at the following URL:
<http://icandy.homeunix.org:443/scarab/issues/id/OBJS16>
The following modifications were made to this issue:
Ok, the issue seems to be with how equals() works on windows files that "don't really exist"... and since FileSystemTreeModel uses the file as a key into a hashtable (mapping to a TreePath element) this is what is causing the problem:
os> t.put( pkg.util.getFile("/C:/IO.SYS"), "foo" )
os> t.get( pkg.util.getFile("/C:/IO.SYS")
=> foo
os> t.put( pkg.util.getFile("/C:"), "foo" )
os> t.get( pkg.util.getFile("/C:")
=> null
|