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

Diff of /classpath/java/awt/Window.java

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

revision 1.52 by fitzsim, Fri Aug 19 01:29:26 2005 UTC revision 1.53 by fitzsim, Sun Aug 21 00:28:31 2005 UTC
# Line 746  public class Window extends Container im Line 746  public class Window extends Container im
746      if (activeWindow == this)      if (activeWindow == this)
747        return manager.getFocusOwner ();        return manager.getFocusOwner ();
748      else      else
749        return windowFocusOwner;        return null;
750      }
751    
752      /**
753       * Returns the child component of this window that would receive
754       * focus if this window were to become focused.  If the window
755       * already has the top-level focus, then this method returns the
756       * same component as getFocusOwner.  If no child component has
757       * requested focus within the window, then the initial focus owner
758       * is returned.  If this is a non-focusable window, this method
759       * returns null.
760       *
761       * @return the child component of this window that most recently had
762       * the focus, or <code>null</code>
763       * @since 1.4
764       */
765      public Component getMostRecentFocusOwner ()
766      {
767        return windowFocusOwner;
768    }    }
769    
770    /**    /**

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

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