classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: BasicListUI fixlet


From: Anthony Balkissoon
Subject: [cp-patches] FYI: BasicListUI fixlet
Date: Wed, 27 Jul 2005 15:50:49 -0400

I commited this patch which makes sure that after a change in the
selection model via the mouse or keyboard, we make sure that the new
lead selection index is visible.

Note: you can only see this work after JViewport.scrollRectToVisible()
is implemented (I submitted this patch for approval earlier today).

Patch is attached.


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

* javax/swing/plaf/basic/BasicListUI.java:
(KeyHandler.keyPressed): Ensure the new lead selection index is visible
after making a change.
(MouseInputHandler.mouseClicked): Likewise.

- Tony

Attachment: JListEnsureVisibleAfterChange.diff
Description: Text Data


reply via email to

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