From 2936419d1cbff6e526a77bbba46b06c5552a60e1 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 4 Dec 2000 02:27:21 +0000 Subject: Point2D.java: Added protected constructor. * java/awt/geom/Point2D.java: Added protected constructor. (equals): New method. (Float.setLocation(float,float)): New method. * java/awt/geom/Dimension2D.java: Added protected constructor. * java/awt/geom/AffineTransform.java: Made all constants public. (concatenate): Fixed typo in name. * java/awt/event/WindowAdapter.java: Class now abstract. * java/awt/event/KeyEvent.java (CHAR_UNDEFINED): Now final. * java/awt/event/FocusEvent.java: Extend ComponentEvent, not AWTEvent. From-SVN: r37988 --- libjava/java/awt/geom/Dimension2D.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libjava/java/awt/geom/Dimension2D.java') diff --git a/libjava/java/awt/geom/Dimension2D.java b/libjava/java/awt/geom/Dimension2D.java index f891bf0..47bfb78 100644 --- a/libjava/java/awt/geom/Dimension2D.java +++ b/libjava/java/awt/geom/Dimension2D.java @@ -1,4 +1,4 @@ -/* Copyright (C) 1999 Free Software Foundation +/* Copyright (C) 1999, 2000 Free Software Foundation This file is part of libjava. @@ -10,7 +10,7 @@ package java.awt.geom; /** * @author Per Bothner - * @date Fenruary, 1999. + * @date February, 1999. */ /* Written using online API docs for JDK 1.2 beta from http://www.javasoft.com. @@ -37,4 +37,8 @@ public abstract class Dimension2D implements Cloneable } catch (CloneNotSupportedException _) {return null;} } + + protected Dimension2D () + { + } } -- cgit v1.1