RFR: 8140527: JInternalFrame has incorrect title button width [v2]
Alexey Ivanov
aivanov at openjdk.org
Thu Jun 22 20:35:07 UTC 2023
On Thu, 22 Jun 2023 03:35:57 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> It can be removed in the strict sense but we need something to initialise it to so kept it as it is, as it will do no harm
Why does it need anything to initialise? The value is now set in either `if` or `else` branch.
It does not harm, yet it's never used. Not initialising it with `"InternalFrame.titleButtonWidth"` conveys it clearer: the value is computed later.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14555#discussion_r1238998191
More information about the client-libs-dev
mailing list