Method getX()
Return type: int
Member of:
javax.swing.JComponent
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
oldx = evt.getX()-logoButton.getX();
2
return (((globalCheckBox.getX()+globalCheckBox.getWidth()) >= evt.getX()) &&
3
return (((includeCheckBox.getX()+includeCheckBox.getWidth()) >= evt.getX()) &&
4
int xObj = getX()+(e.getX()-xClick);
5
int xObj = getX()+(e.getX()-xClick);
6
int x = tablePanel.getX();
7
lButton.setBounds(lComponent.getX() + lComponent.getWidth() + 2,
8
if(butt0.getX() < butt1.getX()) {
9
_leftIsWest = _leftTable.getX() < _rightTable.getX();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.