Method getLocationOnScreen()
Return type: java.awt.Point
Member of: java.awt.Component
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return((int)component.getLocationOnScreen().getX() + x);
2 return((int)component.getLocationOnScreen().getY() + y);
3 return willPopupBeContained(popup, popup.getLocationOnScreen());
4 this.setLocation((int)componentToLocateUppon.getLocationOnScreen().getX(), (int)componentToLocateUppon.getLocationOnScreen().getY());
5 editor.setLocation(this.getLocationOnScreen());
6 lastPosition = getLocationOnScreen();
7 pt = type.getLocationOnScreen();
8 Point loc = getLocationOnScreen();
9 Point p = frame.getLocationOnScreen();
10 Point p = popup.getLocationOnScreen();
11 Point p = getOwner().getLocationOnScreen();
12 parentLocation = inParent.getLocationOnScreen();
13 sysConfig.setIntProperty(ConfigConstants.KEY_SES_LAST_X, getLocationOnScreen().x);
14 Point origin = root.getLocationOnScreen();
15 Point loc= src.getLocationOnScreen(); /* location on the screen */
16 while ((popupMenu.getLocationOnScreen().y +
17 Point componentOnScreen = component.getLocationOnScreen();
18 Point xslLocation = textArea.getLocationOnScreen();
19 Point p = mainFrame.getLocationOnScreen();
20 Point p = frame.getLocationOnScreen();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.