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-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 cellHeight).
>         (indexToLocation): Special case for when variable cell heights
>         are possible. (cellHeights is used instead of cellHeight).
> 
> /Roman


> _______________________________________________
> Classpath-patches mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/classpath-patches


-- 
"Let us endeavor so to live that when we come to die even the undertaker 
will be sorry."  -- Mark Twain, "Pudd'nhead Wilson's Calendar"
========== Evil Overlord Quote of the Day (www.eviloverlord.com) =========
172. I will allow guards to operate under a flexible work schedule. That way
if one is feeling sleepy, he can call for a replacement, punch out,
take a nap, and come back refreshed and alert to finish out his shift. 


_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to