Makefile.in: Rebuilt.
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new files. * java/awt/image/AreaAveragingScaleFilter.java: New file from Classpath. * java/awt/image/CropImageFilter.java: New file from Classpath. * java/awt/image/FilteredImageSource.java: New file from Classpath. * java/awt/image/ImageFilter.java: New file from Classpath. * java/awt/image/MemoryImageSource.java: New file from Classpath. * java/awt/image/PixelGrabber.java: New file from Classpath. * java/awt/image/RGBImageFilter.java: New file from Classpath. * java/awt/image/ReplicateScaleFilter.java: New file from Classpath. * java/awt/image/ImageProducer.java: Replaced with Classpath version. * java/awt/image/ImageObserver.java: Replaced with Classpath version. * java/awt/image/ImageConsumer.java: Replaced with Classpath version. * java/awt/GridBagConstraints.java (clone): Catch CloneNotSupportedException. From-SVN: r49157
This commit is contained in:
parent
aac0eb5d46
commit
152d4916ef
12 changed files with 1774 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
// GridBagConstraints.java - Constraints for GridBag layout manager
|
||||
|
||||
/* Copyright (C) 2000, 2001 Free Software Foundation
|
||||
/* Copyright (C) 2000, 2001, 2002 Free Software Foundation
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
|
@ -93,9 +93,17 @@ public class GridBagConstraints implements Cloneable, Serializable
|
|||
/** Create a copy of this object. */
|
||||
public Object clone ()
|
||||
{
|
||||
GridBagConstraints g = (GridBagConstraints) super.clone ();
|
||||
g.insets = (Insets) insets.clone ();
|
||||
return g;
|
||||
try
|
||||
{
|
||||
GridBagConstraints g = (GridBagConstraints) super.clone ();
|
||||
g.insets = (Insets) insets.clone ();
|
||||
return g;
|
||||
}
|
||||
catch (CloneNotSupportedException _)
|
||||
{
|
||||
// Can't happen.
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/** Create a new GridBagConstraints object with the default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue