On Tue, 9 Aug 2022 13:32:09 GMT, Abhishek Kumar <d...@openjdk.org> wrote:
>> JFileChooser - empty file size issue fixed. >> For empty file, now the size 0 KB. >> Manual Test Case "FileSizeCheck.java" created. > > Abhishek Kumar has updated the pull request incrementally with one additional > commit since the last revision: > > suggested review comments updated @prsadhuk I have made few changes in formatting the file size, using MessageFormat and NumberFormat to format the file size with 1 decimal place precision. Earlier JFileChooser show file size for "1.0" as "1", now it will show one decimal place precision. Empty files show as "0 KB". ![1_Decimal_Precision](https://user-images.githubusercontent.com/107542245/183662527-61c4ba88-5955-4958-9aa9-d45eb61eb710.png) ------------- PR: https://git.openjdk.org/jdk/pull/9327