<Swing Dev> RFR: 7190978: javax/swing/JComponent/7154030/bug7154030.java fails on mac [v2]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Thu Nov 5 11:37:56 UTC 2020


On Thu, 5 Nov 2020 11:30:21 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Modified to use bounds.
>
> GC.getBounds() and Toolkit.getScreenSize() return the same bounds, but the bounds of the screen, not the window bounds.

I guess we need the screen bounds only, no? I guess by window bounds, u mean frame bounds which is anyway set to 300,300 which I did not change.
If not, can you say which API to use?

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

PR: https://git.openjdk.java.net/jdk/pull/955


More information about the swing-dev mailing list