[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] FYI: BasicScrollBarUI fixlet
From: |
Robert Schuster |
Subject: |
Re: [cp-patches] FYI: BasicScrollBarUI fixlet |
Date: |
Tue, 18 Oct 2005 21:26:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.12) Gecko/20051005 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Roman,
> For all Swing hackers: As a general rule, do not put repaint and
> revalidate calls in event handlers. When a property change must trigger
> a repaint and/or revalidate, then this should happen in the
> corresponding setter method. This makes the code more clear and avoids
> ugly eventqueue loops.
Would you mind putting such findings in the Wiki[0]?
Maybe you could open a new page and just put all hints and infos in it. I will
come to clean it up later. That way I think we could preserve such useful
information for future hackers in a better way.
cu
Robert
[0] - developer.classpath.org/mediation
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFDVUxaG9cfwmwwEtoRAv0bAJ9/2Iy9ko8Tqs6AB3fK0iNwrZgMwwCbB1a4
1WPiNw80xwCIWfJrVJdQyzs=
=gLhP
-----END PGP SIGNATURE-----