[cp-patches] FYI: BasicScrollBarUI fixlet

2006-08-13 Thread Roman Kennke
The BasicScrollBarUI should scroll by -block or -unit (fetched from the Scrollable impl) when the direction is not positive, and +unit or +block otherwise. So far we expected the Scrollable impl to return a negative value for up-scrolling and a positive value for down scrolling. Which is wrong

Re: [cp-patches] FYI: BasicScrollBarUI fixlet

2005-10-18 Thread Robert Schuster
-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