On Tue, 20 Sep 2022 18:22:20 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:
>> Harshitha Onkar has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains six additional >> commits since the last revision: >> >> - Merge branch 'master' into JIFBorder_8015739 >> - added test summary >> - updated test case >> - Added test case, minor position changes to shadow lines >> - expanded imports >> - JIF Metal Border Scaling - Initial changes > > src/java.desktop/share/classes/javax/swing/plaf/metal/MetalBorders.java line > 277: > >> 275: } >> 276: >> 277: Graphics2D g2d = (Graphics2D) g; > > Regardless, i see that absolutely similar code down this file for FrameBorder > and DialogBorder. Are these UI elements suffer from the same issue or is it > only limited to InternalFrame? If they do suffer from the same issue i would > suggest either fixing it all together or at least submitting new bugs > tracking existence of the problem. Of course problem might not be present for > some reason in these components but it is worth checking it out while you are > working on the code and remember all the details. @azuev-java Tested FrameBorder and DialogBorder, they have a similar problem to JInternalFrameBorder (border scaling issue). Since there is a plan to create a common utility method, I'll create a new JBS issue to track FrameBorder and DialogBorder. ------------- PR: https://git.openjdk.org/jdk/pull/10274