classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] FYI: BasicListUI fix


From: Chris Lansdown
Subject: Re: [cp-patches] FYI: BasicListUI fix
Date: Tue, 3 Jan 2006 17:48:11 -0500
User-agent: Mutt/1.5.9i

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  <address@hidden>
> 
>         * 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
> address@hidden
> 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. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]