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

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

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

revision 1.29 by rabbit78, Wed May 18 15:19:10 2005 UTC revision 1.30 by rabbit78, Wed May 25 10:54:40 2005 UTC
# Line 523  public abstract class AbstractButton ext Line 523  public abstract class AbstractButton ext
523   {   {
524      this.text = text;      this.text = text;
525      default_icon = icon;      default_icon = icon;
     model = new DefaultButtonModel();  
526      actionListener = createActionListener();      actionListener = createActionListener();
527      changeListener = createChangeListener();      changeListener = createChangeListener();
528      itemListener = createItemListener();      itemListener = createItemListener();
529    
     model.addActionListener(actionListener);  
     model.addChangeListener(changeListener);  
     model.addItemListener(itemListener);  
   
530      horizontalAlignment = CENTER;      horizontalAlignment = CENTER;
531      horizontalTextPosition = TRAILING;      horizontalTextPosition = TRAILING;
532      verticalAlignment = CENTER;      verticalAlignment = CENTER;

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

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