Okay, I've been in this area poking around for another fix, and I think I see the problem: The "selectedFilesChanged" method in TerraFileBrowserSkin.java is being correctly called with the selected file, but before the background task that updates the "fileTableView" data list has completed. So, the size of the list data is zero and the "files.indexOf(selectedFile)" always returns -1. So, probably this is better left as a fix in 2.1 (or 2.0.2). What I think has to happen is that the selected file needs to be saved somewhere and when the background task completes it needs to do the selecting then.
Roger Whitcomb | Architect, Engineering | [email protected]| Actian Corp. | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 | USA | +1 650-587-5596 | fax: +1 650-587-5550 -----Original Message----- From: Edvin Syse [mailto:[email protected]] Sent: Friday, August 19, 2011 7:35 AM To: [email protected] Subject: SV: SV: SV: SV: FileBrowserSheet#setSelectedFile() does not take effect Thanks guys for looking into this :) I will report back if I can pinpoint where the problem is. -- Edvin
