RFR: 8365643: JShell EditPad out of bounds on Windows

Chen Liang liach at openjdk.org
Mon Aug 18 13:09:12 UTC 2025


On Mon, 18 Aug 2025 04:48:26 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.

Marked as reviewed by liach (Reviewer).

Do we need a update to `EditPadTest` to ensure all parts of that JFrame is rendered on the screen?

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

PR Review: https://git.openjdk.org/jdk/pull/26814#pullrequestreview-3128297469
PR Comment: https://git.openjdk.org/jdk/pull/26814#issuecomment-3196742832


More information about the compiler-dev mailing list