classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: JList fixlet fixes bug #23203


From: Anthony Balkissoon
Subject: [cp-patches] FYI: JList fixlet fixes bug #23203
Date: Wed, 17 Aug 2005 14:45:44 -0400

This fixes bug #23203 where JList was returning -1 for
getLastVisibleIndex if the window was too large and there was therefore
extra "white space" at the bottom.  Patch attached.

2005-08-17  Anthony Balkissoon  <address@hidden>

        * javax/swing/JList.java:
        (indexToLocation): Implemented.
        (getLastVisibleIndex): If the last index in the list is showing and
        there is extra room at the bottom, return the last index, not -1.

-Tony

Attachment: JListLastVisibleIndex.diff
Description: Text Data


reply via email to

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