RFR: 8365643: JShell EditPad out of bounds on Windows
    Jan Lahoda 
    jlahoda at openjdk.org
       
    Mon Aug 18 08:08:13 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.
Looks good to me.
-------------
Marked as reviewed by jlahoda (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/26814#pullrequestreview-3127243559
    
    
More information about the compiler-dev
mailing list