JFileChooser not seeing network mounted files on 1.7.0_06 on Mac

Paul Taylor paul_t100 at fastmail.fm
Fri Aug 24 04:02:02 PDT 2012


On 24/08/2012 11:50, Anthony Petrov wrote:
> On 8/24/2012 2:17 PM, Paul Taylor wrote:
>> On 16/08/2012 13:43, Anthony Petrov wrote:
>>> I don't recall such an issue. BTW, is the NAS accessible via 
>>> java.io.File API?
>>>
>>> In any case, please file a bug report at http://bugs.sun.com/
>>>
>> Actually I may get getting confused here they are they if I select 
>> Harddrive from the top option and then /Volumes folder. But is much 
>> harder to find this folder then from native applications, i.e if i 
>> start iTunes and select File/Add to Library... I get a dialog that 
>> contains a Favourites coliumn and looks very much like a Finder 
>> Window. In another project i used Quaqua File Chooser and that wasn't 
>> far off the iTUnes dialog but don't know if supported on Java 7.  But 
>> then I relunctanctly tried using a java.awt.FileDialog instead of a 
>> JFileChooser and they look pretty much the same, i.e nothing like an 
>> iTunes dialog , I though the FIleDIalog would have all the 
>> functionality of a native file dialog ?
>
> Well, j.a.FileDialog *is* a native file chooser dialog after all. 
> Maybe it's just missing a couple additional calls/styles that would 
> enable more native features.
>
No, because I'm really not clear if I'm doing something wrong here, and 
surely having a file dialog that has the functionality of the dialogs 
used by another applications is  a long standing existing issue.

The other thing Im confused about (in a good way)  is that both 
FileDialog and JFileCHooser do seem to correct icons, i,e the 
applications folder contains a little blue A on the folder, whereas this 
post 
http://nadeausoftware.com/node/89#UsingtheJFileChoosertogetMacfileandfoldericons 
indicated JFileChooser does not.

Paul


More information about the macosx-port-dev mailing list