JFileChooser not seeing network mounted files on 1.7.0_06 on Mac
Paul Taylor
paul_t100 at fastmail.fm
Wed Sep 12 09:21:59 PDT 2012
On 11/09/2012 16:52, Anthony Petrov wrote:
> Hi Paul,
>
> On 8/31/2012 11:52 PM, Paul Taylor wrote:
>>>> Thats good news , but I am in fact using 1.7.0_08-ea, is there
>>>> later version of 7u8 or am I using the fix wrong Im doing
>>>>
>>>> System.setProperty("apple.awt.fileDialogForDirectories", "true");
>>>> FileDialog chooser = new FileDialog(MainWindow.frame);
>>>> chooser.setMode(FileDialog.LOAD);
>>>> chooser.setVisible(true);
>>>> String folderSelected = chooser.getDirectory();
>>>> System.setProperty("apple.awt.fileDialogForDirectories", "false");
>>>> File folder = new File(folderSelected) ;
>>>> if(folder.exists() && folder.isDirectory())
>>>> {
>>>> //DO something
>>>> }
>>>>
>>>
>>> The fix hasn't made it to the master repository yet. It is expected
>>> to appear in either 7u8b03 or 7u8b04. Maybe, in the worst case, in
>>> b05. Please check what build you're using with `java -version` and
>>> stay tuned.
>>>
>>> --
>>> best regards,
>>> Anthony
>>>
>> Doesn't seem to have made it build 5 either,
>>
>> http://download.java.net/jdk7u8/changes/jdk7u8-b05.html
>>
>> problematic for me I cannot release my product until this problem is
>> resolved.
>
> According to the bug database, a fix for this issue (7161437) has been
> integrated in 7u10b06. And yes, 7u10 is what used to be called 7u8 in
> the past. Sorry for the confusion.
>
> Please try 7u10b06 once you have a chance and report if it works or
> not. JDK 8b55 should also contain this fix.
>
> --
> best regards,
> Anthony
>
HI Anthony
Thankyou, I have now tried 7u10 and the fix is working :)
Paul
More information about the macosx-port-dev
mailing list