[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: BasicListUI fix
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: BasicListUI fix |
Date: |
Tue, 15 Nov 2005 13:26:00 +0000 |
My last 'fix' for BasicListUI introduced some new misbehaviour in JList
rendering. This should be fixed by this patch.
2005-11-15 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicListUI.java
Fixed API docs all over to better explain the changed (but
correct)
behaviour.
(convertYToRow): Added some short-circuits for special cases.
Update
the layout state if necessary. Fixed to match the JDK behaviour.
Added API docs to better explain the behaviour.
(updateLayoutState): When a fixedCellHeight is set, then use the
cellHeight field, otherwise use the cellHeights array.
(uninstallDefaults): Removed unnecessary statement.
(paintBackground): Removed unnecessary method.
(paintCell): Removed some commented-out code.
(paint): Removed call to paintBackground().
(locationToIndex): Removed unused statement.
/Roman
patch.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: BasicListUI fix,
Roman Kennke <=