/[classpath]/classpath/javax/swing/plaf/basic/BasicButtonUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicButtonUI.java

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

revision 1.12.2.3 by gnu_andrew, Sun Jan 16 15:15:13 2005 UTC revision 1.12.2.4 by gnu_andrew, Wed Jan 26 02:30:49 2005 UTC
# Line 1  Line 1 
1  /* BasicButtonUI.java  /* BasicButtonUI.java --
2     Copyright (C) 2002, 2004 Free Software Foundation, Inc.     Copyright (C) 2002, 2004, 2005  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 35  this exception to your version of the li Line 35  this exception to your version of the li
35  obligated to do so.  If you do not wish to do so, delete this  obligated to do so.  If you do not wish to do so, delete this
36  exception statement from your version. */  exception statement from your version. */
37    
38    
39  package javax.swing.plaf.basic;  package javax.swing.plaf.basic;
40    
41  import java.awt.Color;  import java.awt.Color;
# Line 136  public class BasicButtonUI extends Butto Line 137  public class BasicButtonUI extends Butto
137      return new BasicButtonListener(b);      return new BasicButtonListener(b);
138    }    }
139    
140    public void installListeners(AbstractButton b)    protected void installListeners(AbstractButton b)
141    {    {
142      listener = createButtonListener(b);      listener = createButtonListener(b);
143      b.addChangeListener(listener);      b.addChangeListener(listener);
# Line 146  public class BasicButtonUI extends Butto Line 147  public class BasicButtonUI extends Butto
147      b.addMouseMotionListener(listener);      b.addMouseMotionListener(listener);
148    }    }
149    
150    public void uninstallListeners(AbstractButton b)    protected void uninstallListeners(AbstractButton b)
151    {    {
152      b.removeChangeListener(listener);      b.removeChangeListener(listener);
153      b.removePropertyChangeListener(listener);      b.removePropertyChangeListener(listener);

Legend:
Removed from v.1.12.2.3  
changed lines
  Added in v.1.12.2.4

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