<AWT Dev> [9] Review request for 8163101: dual-screen issue with JMenu, JPopupMenu

Semyon Sadetsky semyon.sadetsky at oracle.com
Wed Aug 31 14:18:16 UTC 2016


Hello,

Please review fix for JDK9:

bug: https://bugs.openjdk.java.net/browse/JDK-8163101

webrev: http://cr.openjdk.java.net/~ssadetsky/8163101/webrev.00/

In the 8137571 the available screen area request

Toolkit.getDefaultToolkit().getScreenSize()

was replaced by

graphicsConfig.getBounds();

that returns a particular screen area which is not the same as the joint 
screen area in case of Xinerama multi-monitor configuration.

Reverting the previous way fixes the issue.

--Semyon



More information about the awt-dev mailing list