<Swing Dev> [8] Review request for 8000969 [macosx] Directories are not deselected when JFileChooser has FILES_ONLY selection mode

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Tue Oct 16 12:36:06 UTC 2012


On 10/16/2012 4:28 PM, Sergey Bylokhov wrote:
> Hi Alexander,
> Why environment field contain information about jdk 6 on mac? Is it 
> "Aqua L&F" specific?

    The issue is reproduced in the 1.6.0_29-b11 build as well.
    Yes, this is the "Aqua L&F" specific issue.  For example, the 
directories are deselected by default in a JFileChooser with FILES_ONLY 
selection mode in Metal L&F.

    Thanks,
    Alexandr.
>
> 16.10.2012 15:56, Alexander Scherbatiy wrote:
>>
>> bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8000969
>> webrev: http://cr.openjdk.java.net/~alexsch/8000969/webrev.00/
>>
>> The fix deselects directories when the a JFileChooser has FILES_ONLY 
>> selection mode.
>>
>> The the DIRECTORIES_ONLY selection mode disables files so it is 
>> necessary to do nothing in this case.
>>
>> Thanks,
>> Alexandr.
>>
>
>




More information about the swing-dev mailing list