/[classpath]/classpath/javax/swing/JComponent.java
ViewVC logotype

Diff of /classpath/javax/swing/JComponent.java

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

revision 1.21 by mark, Sat Sep 4 17:14:01 2004 UTC revision 1.22 by mark, Sat Sep 4 20:52:29 2004 UTC
# Line 1771  public abstract class JComponent extends Line 1771  public abstract class JComponent extends
1771     */     */
1772    public void resetKeyboardActions()    public void resetKeyboardActions()
1773    {    {
1774      inputMap_whenFocused.clear();      if (inputMap_whenFocused != null)
1775      inputMap_whenAncestorOfFocused.clear();        inputMap_whenFocused.clear();
1776      inputMap_whenInFocusedWindow.clear();      if (inputMap_whenAncestorOfFocused != null)
1777      actionMap.clear();        inputMap_whenAncestorOfFocused.clear();
1778        if (inputMap_whenInFocusedWindow != null)
1779          inputMap_whenInFocusedWindow.clear();
1780        if (actionMap != null)
1781          actionMap.clear();
1782    }    }
1783    
1784    

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

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