RFR: 8365643: JShell EditPad out of bounds on Windows [v2]
David Alayachew
duke at openjdk.org
Mon Aug 18 19:17:38 UTC 2025
> 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.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26814/files
- new: https://git.openjdk.org/jdk/pull/26814/files/b82d1300..409f392d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26814&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26814&range=00-01
Stats: 464 lines in 32 files changed: 252 ins; 84 del; 128 mod
Patch: https://git.openjdk.org/jdk/pull/26814.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26814/head:pull/26814
PR: https://git.openjdk.org/jdk/pull/26814
More information about the compiler-dev
mailing list