Re: [cp-patches] FYI: Avoid ArrayIndexOutOfBoundsException in BasicListUI

2006-01-03 Thread Chris Lansdown
I tested it out, and it's not so much the row of what you click on, but the size of the directory which you enter. This patch isn't enough, because the problem is also that the visible row count never gets set. When you go into a directory with fewer than 8 elements, this array tries to iterate

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. 2006