classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: BasicListUI fixlet and BasicLookAndFeel addition


From: Anthony Balkissoon
Subject: [cp-patches] FYI: BasicListUI fixlet and BasicLookAndFeel addition
Date: Fri, 22 Jul 2005 12:46:59 -0400

Added this small fixlet to BasicListUI (and corresponding default to
BasicLookAndFeel) so that the most recently updated cell in a JList has
a border around it.  

Patch attached.

2005-07-22  Anthony Balkissoon  <address@hidden>

* javax/swing/plaf/basic/BasicListUI.java:
(paintCell): Set hasFocused to true if the cell is the lead selection
index and if the list has focus.
* javax/swing/plaf/basic/BasicLookAndFeel.java:
(initComponentDefaults): Added List.focusCellHighlightBorder default.

-Tony

Attachment: JListLeadCellBorder.diff
Description: Text Data


reply via email to

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