1149 |
public Point getLocationOnScreen() |
public Point getLocationOnScreen() |
1150 |
{ |
{ |
1151 |
if (! isShowing()) |
if (! isShowing()) |
1152 |
throw new IllegalComponentStateException("component not showing"); |
throw new IllegalComponentStateException("component " |
1153 |
|
+ getClass().getName() |
1154 |
|
+ " not showing"); |
1155 |
// We know peer != null here. |
// We know peer != null here. |
1156 |
return peer.getLocationOnScreen(); |
return peer.getLocationOnScreen(); |
1157 |
} |
} |
4764 |
.getCurrentKeyboardFocusManager() |
.getCurrentKeyboardFocusManager() |
4765 |
.dispatchEvent(e)) |
.dispatchEvent(e)) |
4766 |
return; |
return; |
4767 |
|
case MouseEvent.MOUSE_PRESSED: |
4768 |
|
if (isLightweight()) |
4769 |
|
requestFocus(); |
4770 |
|
break; |
4771 |
} |
} |
4772 |
} |
} |
4773 |
processEvent (e); |
processEvent (e); |