On Thu, 5 Nov 2020 11:35:20 GMT, Prasanta Sadhukhan <psadhuk...@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

Reply via email to