[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: BasicListUI PAGE UP and PAGE DOWN implemented
From: |
Anthony Balkissoon |
Subject: |
[cp-patches] FYI: BasicListUI PAGE UP and PAGE DOWN implemented |
Date: |
Thu, 28 Jul 2005 15:48:20 -0400 |
Implemented {,SHIFT-} PAGE {UP,DOWN} key action in BasicListUI. Also
had to make a small correction to JViewport's scrollRectToVisible that
PAGE DOWN revealed where we were off by 1 pixel.
Patch attached.
2005-07-28 Anthony Balkissoon <address@hidden>
* javax/swing/JViewport.java:
(scrollRectToVisible): Consider the x and y position of the viewport
itself when scrolling down. This fixes an off-by-1-pixel problem.
* javax/swing/plaf/basic/BasicListUI.java:
(KeyHandler.keyPressed): Implemented PAGEUP, SHIFT-PAGEUP, PAGEDOWN,
and SHIFT-PAGEDOWN key actions.
- Tony
JListPAGE_UP_DOWN.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: BasicListUI PAGE UP and PAGE DOWN implemented,
Anthony Balkissoon <=