[cp-patches] FYI: BasicListUI fix

2006-01-28 Thread Roman Kennke
This patch corrects the calculation of the cell width for VERTICAL layoutOrientation in JLists and greatly improves performance of JList painting by saving most updateLayoutState() calls from within paint(). 2006-01-28 Roman Kennke [EMAIL PROTECTED] *

Re: [cp-patches] FYI: BasicListUI fix

2006-01-05 Thread Mark Wielaard
Hi, On Wed, 2006-01-04 at 21:40 +, Roman Kennke wrote: 2006-01-04 Roman Kennke [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicListUI.java (locationToIndex): Added FIXME about getVisibleRowCount() usage. Adjusted iteration to not use visibleRowCount and instead

[cp-patches] FYI: BasicListUI fix

2006-01-04 Thread Roman Kennke
This fixes some exception in the BasicListUI. Thanks to Christopher for discussing this on IRC. 2006-01-04 Roman Kennke [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicListUI.java (locationToIndex): Added FIXME about getVisibleRowCount() usage. Adjusted iteration to not

[cp-patches] FYI: BasicListUI fix

2006-01-03 Thread Roman Kennke
This patch fixes JList rendering and size calculations for wrapping JLists. 2006-01-03 Roman Kennke [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicListUI.java (locationToIndex): Special case for when variable cell heights are possible. (cellHeights is used instead of

Re: [cp-patches] FYI: BasicListUI fix

2006-01-03 Thread Chris Lansdown
Roman, The loops loop like they will throw an OOB exception if the mouse click is below the last item, if there are too few items. Am I missing something? Thanks, Chris Lansdown On 01/03, Roman Kennke wrote: This patch fixes JList rendering and size calculations for wrapping JLists.

[cp-patches] FYI: BasicListUI fix

2005-11-15 Thread Roman Kennke
My last 'fix' for BasicListUI introduced some new misbehaviour in JList rendering. This should be fixed by this patch. 2005-11-15 Roman Kennke [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicListUI.java Fixed API docs all over to better explain the changed (but correct)