summaryrefslogtreecommitdiff
path: root/libjava/javax
diff options
context:
space:
mode:
authorfitzsim <fitzsim@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-03 17:10:56 +0000
committerfitzsim <fitzsim@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-03 17:10:56 +0000
commit3fe1c14284ce32b79d0e66441aec6a45a77ff684 (patch)
tree69b793f3808108f9a710a0f4875efb2e7eea8892 /libjava/javax
parent2c584053e7a50135ab299115a5d7b909bd65355f (diff)
downloadgcc-3fe1c14284ce32b79d0e66441aec6a45a77ff684.tar.gz
2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkListPeer.java, java/awt/BorderLayout.java, java/awt/CardLayout.java, java/awt/CheckboxGroup.java, java/awt/Choice.java, java/awt/Component.java, java/awt/Container.java, java/awt/FontMetrics.java, java/awt/GridBagLayout.java, java/awt/LayoutManager2.java, java/awt/List.java, java/awt/Menu.java, java/awt/MenuBar.java, java/awt/MenuItem.java, java/awt/Polygon.java, java/awt/Rectangle.java, java/awt/ScrollPane.java, java/awt/Scrollbar.java, java/awt/TextArea.java, java/awt/TextField.java, java/awt/image/renderable/RenderContext.java, javax/swing/JApplet.java: Fix handling of alias methods, where a method has been deprecated in favour of a new one with the same funtion but a different name. Put the method implementation in the deprecated method and have the new method call the deprecated one. Make all other code call the new method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77178 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/javax')
-rw-r--r--libjava/javax/swing/JApplet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/javax/swing/JApplet.java b/libjava/javax/swing/JApplet.java
index ed450ced7a5..82976d38c7b 100644
--- a/libjava/javax/swing/JApplet.java
+++ b/libjava/javax/swing/JApplet.java
@@ -80,7 +80,7 @@ public class JApplet extends Applet
public Dimension getPreferredSize()
{
Dimension d = super.getPreferredSize();
- System.out.println("JFrame.getPrefSize(): " + d + " , comp="+countComponents() + ", layout=" + getLayout());
+ System.out.println("JFrame.getPrefSize(): " + d + " , comp="+ getComponentCount () + ", layout=" + getLayout());
return d;
}