Method setLocation(Point p)
Return type: void
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
setLocation(AwtConst.getCenterLocation(this.getSize()));
2
setLocation(AwtConst.getCenterLocation(getSize()));
3
comp.setLocation(target);
4
setLocation(owner.getLocation());
5
setLocation(owner.getLocation());
6
if (f != null) f.setLocation(location);
7
if (frame != null) frame.setLocation(location);
8
editor.setLocation(this.getLocationOnScreen());
9
setLocation( properties.getPosition());
10
comp.setLocation(p0);
11
window.setLocation(pt);
12
setLocation( rect.getLocation() );
13
fd.setLocation(loc);
14
internalDialog.setLocation(location);
15
setLocation(prefs.tacLoc);
16
dlg.setLocation(loc);
17
this.setLocation(pos);
18
if(defaultLocation!=null) pFrame.setLocation(defaultLocation);
19
w.setLocation(new Point(-1, -1));
20
this.setLocation(p);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.