On Thu, 8 Dec 2022 09:09:40 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> I guess for frame, the disable/enable functionality is handled by the peer 
>> (Windows it is `WFramePeer`), whereas for the swing components it should be 
>> the components itself like it is for all other components (Like in 
>> AbstractButton, JComboBox, JList).
>
> The JFileChooser is also kind of top level component and it has the peer. 
> Current patch does not work as intended. On macOS in Nimbus/Metal L&F the 
> list of files looks disabled but scrolling works. On Aqua L&F the list of 
> files does not look like disabled, accept scroll and double clicks, but does 
> not accept single clicks.

@mrserb, you are right on double and scrolling still working after the fix. I'm 
working on debugging the root cause, which I think something to do with 
filepane class. Parallel to that I am working on your comment previous comments 
too.

-------------

PR: https://git.openjdk.org/jdk/pull/11553

Reply via email to