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.

I missed checking the scrolling part in macos, will check and get back on it.

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

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

Reply via email to