[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cp-patches] RFC: AWT painting broken?
From: |
Jeroen Frijters |
Subject: |
RE: [cp-patches] RFC: AWT painting broken? |
Date: |
Tue, 16 Aug 2005 15:32:00 +0200 |
Roman Kennke wrote:
> No it does not. The method processEvent is only intended to give
> applications with Component subclasses a chance to process the event.
> The AWT itself should not do any logic in these methods.
Please take another look at my patch. I did not alter the call to
processEvent and I am not using it to do painting.
> > Basically, it gives the peer a chance to handle any event,
> > whether it is enabled or not.
>
> Sorry, I don't quite understand this. The peer actually has a
> chance to handle events in the handleEvent() method in ComponentPeer.
Exactly, but without my patch handleEvent() is never called on the peer
(unless enableEvents(PAINT_EVENT_MASK) is called, but it isn't).
Thanks,
Jeroen