On Tue, 4 Oct 2022 19:50:15 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
> It looks good to me, except for the comments I left on the coding style. > > Yet there's one thing which I noticed in the rendered border. The top left > corner has one pixel which is painted over the title bar. It's present in the > original painting code. The top right corner has such a pixel too. > > The updated code paints the top left corner with that pixel. Yet in the top > right corner, it moved to left.  @aivanov-jdk The extra pixel seems to be added due to JInternalFrame titlebar and not from the paintBorder() code changes. Below is the screenshot of JIF (at 300% scale) rendered when the paintBorder() code is commented out completely. It seems to match the pixel of the pattern on the title bar.  ------------- PR: https://git.openjdk.org/jdk/pull/10274