------- Comment #1 from gcj at esclat dot net  2006-10-18 16:00 -------
Created an attachment (id=12456)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12456&action=view)
A simple example that demonstrates ignored repaint events

Use "javac -d . Broken.java && java Broken" to invoke this program.  A 320x240
window is created.  Clicking anywhere inside that results in a partial repaint
request that should make a simple filled arc appear.  That doesn't happen. 
Debugging statements are printed when the click happens and when the paint
method is called.  From this it should be easy to see that the repaint never
results in a paint invocation.  (Technically it should result in an update
invocation but the default implementation of that calls paint.  This code can
be trivially modified to instrument update too.  It never gets called.) 
Covering and revealing the window or moving part of it off screen results in
display of the arc, so system generated events seem to be properly handled.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29502



_______________________________________________
Bug-classpath mailing list
Bug-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-classpath

Reply via email to