Method getBounds()
Return type:
java.awt.Rectangle
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
Rectangle rect = getBounds();
2
Rectangle rect = getBounds();
3
(int)getBounds().getX(),
4
Rectangle area=tool.getBounds();
5
Rectangle area=tool.getBounds();
6
properties.setFrameBounds(getBounds());
7
paintImmediately(getBounds());
8
map.repaint(map.getBounds());
9
paintValue(g, getBounds());
10
Rectangle r = parentWindow.getBounds();
11
inner = getBounds();
12
Rectangle r = parent.getBounds();
13
Rectangle frameDim = frame.getBounds();
14
Rectangle rec=this.getBounds();
15
Rectangle parentBounds = parent.getBounds ( );
16
Rectangle left = startPanel.getBounds();
17
Rectangle r = jPanel1.getBounds();
18
.append(",").append(getBounds())
19
Rectangle bb = c.getBounds();
20
System.err.println("Constraints for component " + component.getClass() + " (" + System.identityHashCode(component) + ") " + component.getBounds());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.