The keyboard focus must be explicitly requested now for Swing
components. Done here for JList.
2006-08-05 Roman Kennke [EMAIL PROTECTED]
* javax/swing/plaf/basic/BasicListUI.java
(MouseInputHandler.mousePressed): Request focus on list
component.
/Roman
Index:
This fixes BasicListUI.installKeyboardActions to fit with the
InputMap/ActionMap architecture, and implements the missing
uninstallKeyboardActions.
2006-06-26 Roman Kennke [EMAIL PROTECTED]
* javax/swing/plaf/basic/BasicListUI.java
(installKeyboardActions): Rewritten to fit
This patch corrects the calculation of the cell width for VERTICAL
layoutOrientation in JLists and greatly improves performance of JList
painting by saving most updateLayoutState() calls from within paint().
2006-01-28 Roman Kennke [EMAIL PROTECTED]
*
Hi there,
this makes the BasicListUI update its layout also when the list itself
has been invalidated since the last update.
2006-01-10 Roman Kennke [EMAIL PROTECTED]
* javax/swing/plaf/basic/BasicListUI.java
(maybeUpdateLayoutState): Also update the layout state, if the
I added a @since to BasicListUI.playSound.
2006-01-10 Roman Kennke [EMAIL PROTECTED]
* javax/swing/plaf/basic/BasicLookAndFeel.java
(playSound): Added @since 1.4 to the API docs.
/Roman
Index: javax/swing/plaf/basic/BasicLookAndFeel.java
Hi,
On Wed, 2006-01-04 at 21:40 +, Roman Kennke wrote:
2006-01-04 Roman Kennke [EMAIL PROTECTED]
* javax/swing/plaf/basic/BasicListUI.java
(locationToIndex): Added FIXME about getVisibleRowCount() usage.
Adjusted iteration to not use visibleRowCount and instead
This fixes some exception in the BasicListUI. Thanks to Christopher for
discussing this on IRC.
2006-01-04 Roman Kennke [EMAIL PROTECTED]
* javax/swing/plaf/basic/BasicListUI.java
(locationToIndex): Added FIXME about getVisibleRowCount() usage.
Adjusted iteration to not
Hi,
I have rewritten the BasicListUI.getPreferredSize() method so that it
does what the specs say. This is one of the very few methods that are
exceptionally well documented :-)
2006-01-04 Roman Kennke [EMAIL PROTECTED]
* javax/swing/plaf/basic/BasicListUI.java
This patch fixes JList rendering and size calculations for wrapping
JLists.
2006-01-03 Roman Kennke [EMAIL PROTECTED]
* javax/swing/plaf/basic/BasicListUI.java
(locationToIndex): Special case for when variable cell heights
are possible. (cellHeights is used instead of
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.
My last 'fix' for BasicListUI introduced some new misbehaviour in JList
rendering. This should be fixed by this patch.
2005-11-15 Roman Kennke [EMAIL PROTECTED]
* javax/swing/plaf/basic/BasicListUI.java
Fixed API docs all over to better explain the changed (but
correct)
On Fri, 2005-11-11 at 16:09 -0500, Lillian Angel wrote:
On Thu, 2005-11-10 at 20:35 +, Roman Kennke wrote:
Hi,
I fixed some buggies in the BasicListUI. The fixed cell height and width
should now correctly be recognized. In addition to that I optimized the
painting so that only the
Hi,
I fixed some buggies in the BasicListUI. The fixed cell height and width
should now correctly be recognized. In addition to that I optimized the
painting so that only the cells within the clip bounds are painted. This
greatly improved performance when scrolling. This is really smooth now.
Changed KeyEvent.isShiftDown() and KeyEvent.isControlDown() to
comparisons between KeyEvent.getModifiers() and InputEvent.SHIFT_MASK
and CTRL_MASK.
Also switched the order of shift and control handling in
MouseInputHandler.mousePressed to correspond to the JDK's behaviour.
Patch attached.
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 [EMAIL PROTECTED]
* javax/swing/JViewport.java:
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
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 [EMAIL PROTECTED]
* javax/swing/plaf/basic/BasicListUI.java:
(paintCell): Set
17 matches
Mail list logo