Searched refs:scrBounds (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaComboBoxPopup.java246 final Rectangle scrBounds = getBestScreenBounds(p);
247 //System.err.println("BestScreenBounds is " + scrBounds);
250 if (scrBounds == null) return super.computePopupBounds(px, py, pw, ph);
282 if (p.x < scrBounds.x) px -= (p.x + scrBounds.x);
283 if (p.y < scrBounds.y) py -= (p.y + scrBounds.y);
291 final int maxWidth = Math.min(scrBounds.width, top.x + scrBounds.x + scrBounds
323 computePopupBoundsForMenu(final int px, final int py, final int pw, final int ph, final int itemCount, final Rectangle scrBounds) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJPopupMenu.java334 Rectangle scrBounds;
339 scrBounds = gc.getBounds();
342 scrBounds = new Rectangle(toolkit.getScreenSize());
349 int scrWidth = scrBounds.width;
350 int scrHeight = scrBounds.height;
355 scrBounds.x += scrInsets.left;
356 scrBounds.y += scrInsets.top;
360 int scrRightX = scrBounds.x + scrWidth;
361 int scrBottomY = scrBounds.y + scrHeight;
372 if (popupLocation.x < scrBounds
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DJConsole.java792 Rectangle scrBounds =
796 int w = Math.min(900, scrBounds.width);
797 int h = Math.min(750, scrBounds.height);
798 jConsole.setBounds(scrBounds.x + (scrBounds.width - w) / 2,
799 scrBounds.y + (scrBounds.height - h) / 2,

Completed in 43 milliseconds