Method getLocation()
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
this.setLocation((int)(this.getLocation().getX() - (oldx - evt.getX())),(int)(this.getLocation().getY()- (oldy - evt.getY())));
2
System.out.println("Found object at "+to.getLocation());
3
previousPosition = getLocation();
4
previousPosition = getLocation();
5
setLocation(owner.getLocation());
6
Point target=new Point(parent.getLocation());
7
Point loc = ic.getLocation();
8
Point posn = getFrameSheet().getLocation();
9
this.root.getLocation());
10
Point loc = getLocation();
11
Point p = paletteButton.getLocation();
12
Point pt = label.getLocation();
13
m_node.setPosition(getLocation());
14
Point loc = getLocation();
15
Point p = c.getLocation();
16
Point loc = getLocation();
17
setLocation(getLocation().x - 1, getLocation().y - 1);
18
Point bottomLoc = bottomWindow.getLocation();
19
f.setLocation(pb.getLocation().x + 100, pb.getLocation().y + 100);
20
Point loc = f.getLocation();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.