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

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

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

revision 1.15 by mark, Sat Jul 2 20:32:47 2005 UTC revision 1.16 by rschuster, Wed Jul 13 00:34:54 2005 UTC
# Line 1  Line 1 
1  /* JButton.java --  /* JButton.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 123  public class JButton extends AbstractBut Line 123  public class JButton extends AbstractBut
123    
124    protected String paramString()    protected String paramString()
125    {    {
126      return "JButton";      String superParam = super.paramString();
127    
128        // 41 is the maximum number of chars which may be needed.
129        StringBuffer sb = new StringBuffer(41);
130        sb.append(",defaultButton=").append(is_def);
131        sb.append(",defaultCapable=").append(def);
132    
133        return superParam + sb.toString();
134    }    }
135    
136    /**    /**

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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