[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: ComponentUI fix
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: ComponentUI fix |
Date: |
Wed, 12 Oct 2005 15:22:35 +0000 |
I fixed ComponentUI.update. This used to fill the entire rectangle of the
component. Now it only fills the current clip of the Graphics object.
This should always be <= the component bounds. This also solves a
painting problem of JComponents inside JViewports, where the component
bounds can be negative.
2005-10-12 Roman Kennke <address@hidden>
* javax/swing/plaf/ComponentUI.java
(update): Only fill the current clip. This solves a problem with
components in JViewport and should also optimize drawing a little.
/Roman
ComponentUI.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: ComponentUI fix,
Roman Kennke <=