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

Diff of /classpath/java/awt/GridBagConstraints.java

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

revision 1.2 by tromey, Tue Jan 22 23:10:51 2002 UTC revision 1.3 by tromey, Thu Jan 24 00:49:39 2002 UTC
# Line 1  Line 1 
1  // GridBagConstraints.java - Constraints for GridBag layout manager  // GridBagConstraints.java - Constraints for GridBag layout manager
2    
3  /* Copyright (C) 2000, 2001  Free Software Foundation  /* Copyright (C) 2000, 2001, 2002  Free Software Foundation
4    
5  This file is part of GNU Classpath.  This file is part of GNU Classpath.
6    
# Line 93  public class GridBagConstraints implemen Line 93  public class GridBagConstraints implemen
93    /** Create a copy of this object.  */    /** Create a copy of this object.  */
94    public Object clone ()    public Object clone ()
95    {    {
96      GridBagConstraints g = (GridBagConstraints) super.clone ();      try
97      g.insets = (Insets) insets.clone ();        {
98      return g;          GridBagConstraints g = (GridBagConstraints) super.clone ();
99            g.insets = (Insets) insets.clone ();
100            return g;
101          }
102        catch (CloneNotSupportedException _)
103          {
104            // Can't happen.
105            return null;
106          }
107    }    }
108    
109    /** Create a new GridBagConstraints object with the default    /** Create a new GridBagConstraints object with the default

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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