RFR: 8288882: JFileChooser - empty (0 bytes) file is displayed as 1 KB [v11]
Abhishek Kumar
duke at openjdk.org
Fri Jul 22 07:42:07 UTC 2022
On Thu, 21 Jul 2022 11:00:17 GMT, Abhishek Kumar <duke at openjdk.org> wrote:
>> JFileChooser - empty file size issue fixed.
>> For empty file, now the size 0 bytes.
>> Manual Test Case "ZeroFileSizeCheck.java" created.
>
> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
>
> Deleted ZeroFileSizeCheck file and updated text from 999.0 to 999 in FileSizeCheck file


Attached the screenshot for GTK LAF and Nimbus LAF for JFileChooser.
In GTK LAF, JFileChooser doesn't show the file size.
In Nimbus, JFileChooser shows file sizes correctly.
-------------
PR: https://git.openjdk.org/jdk/pull/9327
More information about the client-libs-dev
mailing list