RFR: 8365643: JShell EditPad out of bounds on Windows [v2]

David Alayachew duke at openjdk.org
Mon Aug 18 19:33:48 UTC 2025


On Mon, 18 Aug 2025 19:17:38 GMT, David Alayachew <duke at openjdk.org> wrote:

>> When calling the `setLocationRelativeTo()` method, a null parameter means that it centers the window in the screen. However, any subsequent resizing operations will change only the size, not the location of the window. Understandable, but now the window is no longer centered. So, changing the order of operations.
>
> David Alayachew 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 two additional commits since the last revision:
> 
>  - Merge branch 'openjdk:master' into patch-1
>  - Fixing incorrect centering of EditPad window.
>    
>    When calling the `setLocationRelativeTo()` method, a null parameter means that it centers the window in the screen. However, any subsequent resizing operations will change only the size, not the location of the window. Understandable, but now the window is no longer centered. So, changing the order of operations.

Man, I messed up the commit. It asked me if I wanted to grab upstream changes, now there's all this gunk. Let me try recreating the pull request.

I clicked the button to grab upstream changes, now the file changelist is all garbled. Let me reattempt this pull request.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26814#issuecomment-3198138249
PR Comment: https://git.openjdk.org/jdk/pull/26814#issuecomment-3198142558


More information about the compiler-dev mailing list