[kepler-dev] [Bug 1826] - keyboard binding to enter key on quick search broken

bugzilla-daemon@ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Jan 6 11:03:44 PST 2005


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=1826

berkley at nceas.ucsb.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From berkley at nceas.ucsb.edu  2005-01-06 11:03 -------
I fixed this bug by changing the keyboard listener from looking at the window
focus.  instead it now looks at the component focus.  This was a simple change from 
_jgraph.registerKeyboardAction(deletionListener, "BackSpace",
                KeyStroke.getKeyStroke(KeyEvent.VK_BACK_SPACE, 0),
                JComponent.WHEN_IN_WINDOW_FOCUSED);
to
_jgraph.registerKeyboardAction(deletionListener, "BackSpace",
                KeyStroke.getKeyStroke(KeyEvent.VK_BACK_SPACE, 0),
                JComponent.WHEN_FOCUSED);



More information about the Kepler-dev mailing list