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
This commit is contained in:
Tom Tromey 2000-12-04 02:27:21 +00:00 committed by Tom Tromey
parent c06093a0a3
commit 2936419d1c
7 changed files with 51 additions and 18 deletions

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1999 Free Software Foundation
/* Copyright (C) 1999, 2000 Free Software Foundation
This file is part of libjava.
@ -10,12 +10,12 @@ package java.awt.event;
/**
* @author Per Bothner <bothner@cygnus.com>
* @date Fenruary, 1999.
* @date February, 1999.
*/
/* Status: Believed complete and correct. */
public class WindowAdapter implements WindowListener
public abstract class WindowAdapter implements WindowListener
{
public void windowActivated (WindowEvent w) { }
public void windowClosed (WindowEvent w) { }