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

Diff of /classpath/java/awt/KeyboardFocusManager.java

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

revision 1.4 by mkoch, Mon May 31 21:11:46 2004 UTC revision 1.5 by mark, Thu Jul 22 19:45:38 2004 UTC
# Line 246  public abstract class KeyboardFocusManag Line 246  public abstract class KeyboardFocusManag
246     */     */
247    public Component getFocusOwner ()    public Component getFocusOwner ()
248    {    {
249      return (Component) getObject (currentFocusOwners);      Component owner = (Component) getObject (currentFocusOwners);
250        if (owner == null)
251          owner = (Component) getObject (currentPermanentFocusOwners);
252        return owner;
253    }    }
254    
255    /**    /**

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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