question: private void removeEnterFromTreeInputMap ( ) { InputMap treeInputMap = ( InputMap ) UIManager . get ( "Tree.focusInputMap" ) ; if ( treeInputMap != null ) { treeInputMap . remove ( KeyStroke . getKeyStroke ( KeyEvent . VK_ENTER , 0 ) ) ; } }
target:  DarculaLaf:L354-L358 registers ENTER to invoke 'toggle' action. This seems to cause problems as reported in #14 because enter key can not invoke default button in dialogs.