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

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Fri Nov 6 12:30:55 UTC 2020


On Thu, 5 Nov 2020 11:35:20 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> 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?

Used window bounds...Please let me know if any other comments.

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

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


More information about the swing-dev mailing list