On Sat, 2006-03-25 at 19:25 +0100, Roman Kennke wrote: > Hi list, > > I have found the bugs that prevented the WHEN_IN_FOCUSED_WINDOW inputmap > from working correctly. Attached you find the patch that finally enables > the default button: > Hey Roman, thanks for this fix ... I guess the tests I ran when I wrote KeyboardManager were too simple.
Cheers, Tony > 2006-03-25 Roman Kennke <[EMAIL PROTECTED]> > > * javax/swing/InputMap.java > (allKeys): Check if parent keys is null. > * javax/swing/KeyboardManager.java > (registerEntireMap): Also register map's parent keys. > * javax/swing/plaf/metal/MetalRootPaneUI.java > (propertyChange): Also call super.propertyChange(). > > /Roman >
