[PATCH] small awt fixes

Dalibor Topic robilad at yahoo.com
Mon Mar 4 08:17:39 PST 2002


hi,

this patch continues the series of small toString() related fixes for
AWT, in order to improve its use when comparing debugging output on
kaffe and JDK. It also adds a method in java.awt.Toolkit, which allows
the Toolkit example from the Java Class Libraries book to run.

cheers,

dali.
-------------- next part --------------
	* libraries/javalib/java/awt/Container.java:
	(paramString) improved comparability to JDK.
	
	* libraries/javalib/java/awt/Frame.java
	(counter) new static field. Used as an instance counter.
	(Frame) now sets its name.
	(paramString) new method.

	* libraries/javalib/java/awt/Toolkit.java
	(getScreenResolution) new method.
	
	* libraries/javalib/java/awt/widgets/Checkbox.java
	(counter) new static field. Used as an instance counter.
	(Checkbox) now sets its name.
	(paramString) improved comparability with JDK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 3450 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20020304/6b86fe4c/attachment-0003.diff 


More information about the kaffe mailing list