RFR: 6496103: isFileHidingEnabled return false by default

Sergey Bylokhov serb at openjdk.java.net
Wed Dec 15 01:23:59 UTC 2021


On Thu, 9 Dec 2021 09:40:38 GMT, Tejesh R <duke at openjdk.java.net> wrote:

> The default value of this property is derived from native platform. The same is updated in the documentation.

src/java.desktop/share/classes/javax/swing/JFileChooser.java line 1416:

> 1414:      * Returns true if hidden files are not shown in the file chooser;
> 1415:      * otherwise, returns false. The default value of this property is derived from native platform,
> 1416:      * unless set explicitly by the developer.

Looks like the rest of the file uses the terms "by the programmer" and "This default depends on the operating system.",
also please split the long line up to 80 chars.

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

PR: https://git.openjdk.java.net/jdk/pull/6780



More information about the client-libs-dev mailing list