src/share/classes/java/awt/Component.java

Print this page

        

*** 2024,2034 **** * specifying the component's top-left corner in the screen's * coordinate space. * @return an instance of <code>Point</code> representing * the top-left corner of the component's bounds in the * coordinate space of the screen ! * @throws <code>IllegalComponentStateException</code> if the * component is not showing on the screen * @see #setLocation * @see #getLocation */ public Point getLocationOnScreen() { --- 2024,2034 ---- * specifying the component's top-left corner in the screen's * coordinate space. * @return an instance of <code>Point</code> representing * the top-left corner of the component's bounds in the * coordinate space of the screen ! * @throws IllegalComponentStateException if the * component is not showing on the screen * @see #setLocation * @see #getLocation */ public Point getLocationOnScreen() {