RFR: 8288882: JFileChooser - empty (0 bytes) file is displayed as 1 KB [v3]
Abhishek Kumar
duke at openjdk.org
Thu Jul 7 04:47:30 UTC 2022
On Wed, 6 Jul 2022 15:23:57 GMT, Andy Goryachev <duke at openjdk.org> wrote:
>> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Byte entry added to basic.properties, MessageFormat used to format file length
>
> src/java.desktop/share/classes/com/sun/swing/internal/plaf/basic/resources/basic.properties line 80:
>
>> 78:
>> 79: # File Size Units
>> 80: FileChooser.fileSizeBytes={0} bytes
>
> should it be "{0} B" to be consistent with the rest of the formatting strings?
It is similar to the file size shown in native tools i.e. "bytes" in ubuntu platform.
-------------
PR: https://git.openjdk.org/jdk/pull/9327
More information about the client-libs-dev
mailing list