bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/29502] Repaint requests ignored for lightweight component


From: gcj at esclat dot net
Subject: [Bug classpath/29502] Repaint requests ignored for lightweight components
Date: 18 Oct 2006 16:00:12 -0000


------- 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]