/[classpath]/classpath/java/awt/Component.java
ViewVC logotype

Diff of /classpath/java/awt/Component.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.56 by fitzsim, Wed May 18 15:03:53 2005 UTC revision 1.57 by rabbit78, Fri May 20 14:13:27 2005 UTC
# Line 1149  public abstract class Component Line 1149  public abstract class Component
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    }    }
# Line 4762  p   * <li>the set of backward traversal Line 4764  p   * <li>the set of backward traversal
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);

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26