[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: more BasicListUI fixes
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: more BasicListUI fixes |
Date: |
Thu, 05 Jan 2006 22:53:59 +0000 |
Hi there,
I fixed some more issues with JList and HORIZINTAL_WRAP and
VERTICAL_WRAP. It should now work mostly right and smooth. This
effectivly makes JFileChooser usable.
2006-01-05 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicListUI.java
(getCellHeight): New helper method.
(getCellBounds): Use new helper method for determining the cell
height.
(paint): Don't call list.indexToLocation() but instead call
directly into the same UI method.
(locationToIndex): Fixed calculation of # visible rows and
handling
of cell heights.
(indexToLocation): Fixed calculation of # visible rows and
handling
of cell heights.
/Roman
patch.diff
Description: Text Data