[kaffe] CVS kaffe (riccardo): commented out paint() implementation

Kaffe CVS cvs-commits at kaffe.org
Thu May 4 09:19:08 PDT 2006


PatchSet 7281 
Date: 2006/05/04 16:04:55
Author: riccardo
Branch: HEAD
Tag: (none) 
Log:
commented out paint() implementation

Members: 
	ChangeLog:1.4785->1.4786 
	libraries/javalib/awt-implementations/kaffe/java/awt/Canvas.java:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4785 kaffe/ChangeLog:1.4786
--- kaffe/ChangeLog:1.4785	Thu May  4 00:29:34 2006
+++ kaffe/ChangeLog	Thu May  4 16:04:55 2006
@@ -1,5 +1,10 @@
 2006-05-04  Riccardo Mottola <riccardo at kaffe.org>
 
+	* libraries/javalib/awt-implementations/kaffe/java/awt/Canvas.java:
+	commented out paint() implementation
+	
+2006-05-04  Riccardo Mottola <riccardo at kaffe.org>
+
 	* libraries/clib/awt/X/fnt.c:
 	fixed seriously broken charWidth implementation
 	* libraries/javalib/awt-implementations/kaffe/java/awt/Defaults.java:
Index: kaffe/libraries/javalib/awt-implementations/kaffe/java/awt/Canvas.java
diff -u kaffe/libraries/javalib/awt-implementations/kaffe/java/awt/Canvas.java:1.1 kaffe/libraries/javalib/awt-implementations/kaffe/java/awt/Canvas.java:1.2
--- kaffe/libraries/javalib/awt-implementations/kaffe/java/awt/Canvas.java:1.1	Thu Jul 22 19:19:30 2004
+++ kaffe/libraries/javalib/awt-implementations/kaffe/java/awt/Canvas.java	Thu May  4 16:04:59 2006
@@ -60,9 +60,12 @@
 	// of a graphics context, so we can't optimize for the case
 	// when the parameter's background matches ours.
 
-	Graphics context = getGraphics();
-	context.clearRect( 0, 0, width, height);
-	context.dispose();
+// This caused problem in several Swing layouts
+// removing it seems to cause no harm though
+
+//	Graphics context = getGraphics();
+//	context.clearRect( 0, 0, width, height);
+//	context.dispose();
 }
 
 void processPaintEvent ( int id, int ux, int uy, int uw, int uh ) {




More information about the kaffe mailing list