--- old/src/java.desktop/unix/classes/sun/awt/X11/XChoicePeer.java 2015-10-22 10:07:20.199072089 -0400 +++ new/src/java.desktop/unix/classes/sun/awt/X11/XChoicePeer.java 2015-10-22 10:07:20.055072083 -0400 @@ -785,7 +785,7 @@ numItemsDisplayed = Math.min(MAX_UNFURLED_ITEMS, numItems); } Point global = XChoicePeer.this.toGlobal(0,0); - Dimension screen = Toolkit.getDefaultToolkit().getScreenSize(); + Rectangle screen = graphicsConfig.getBounds(); if (alignUnder != null) { Rectangle choiceRec = XChoicePeer.this.getBounds();