> 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 incrementally with one additional commit since the last revision: Forgot to update the copyright year. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/26814/files - new: https://git.openjdk.org/jdk/pull/26814/files/409f392d..1a7f9952 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=26814&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26814&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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