This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PATCH: enable paint events for heavyweight java.awt.Container which contains a lightweight java.awt.Component
- From: Tom Tromey <tromey at redhat dot com>
- To: "Scott Gilbertson" <scottg at mantatest dot com>
- Cc: <java-patches at gcc dot gnu dot org>
- Date: 20 Apr 2003 17:10:31 -0600
- Subject: Re: PATCH: enable paint events for heavyweight java.awt.Container which contains a lightweight java.awt.Component
- References: <04b301c2d6bd$c8e97020$3c16a8c0@mantatest.com>
- Reply-to: tromey at redhat dot com
>>>>> "Scott" == Scott Gilbertson <scottg at mantatest dot com> writes:
Scott> This patch enables paint events for any heavyweight Container
Scott> to which a lightweight Component is added. When you do a
Scott> repaint on a Component, it finds the nearest heavyweight parent
Scott> and sends it a paint event. These events were being discarded,
Scott> so no lightweight components showed up on the screen.
Looks good. I'm putting this in Classpath and on the trunk.
BTW, your patches have been pretty hard to apply. The ChangeLogs have
needed reformatting, and it would be easier for me to apply the
patches if they were made from inside the `gcc' directory, say using
`cvs diff'. (I know there's no standard for the latter thing; but
reformatting the ChangeLogs is really a pain.)
Tom