private void fixCtrlH(){
  InputMap inputMap=getInputMap();
  KeyStroke char010=KeyStroke.getKeyStroke("typed \010");
  InputMap parent=inputMap;
  while (parent != null) {
    parent.remove(char010);
    parent=parent.getParent();
  }
  KeyStroke backspace=KeyStroke.getKeyStroke("BACK_SPACE");
  inputMap.put(backspace,DefaultEditorKit.deletePrevCharAction);
}

private void fixCtrlH ( ) { InputMap inputMap = getInputMap ( ) ; KeyStroke char010 = KeyStroke . getKeyStroke ( "typed \010" ) ; InputMap parent = inputMap ; while ( parent != null ) { parent . remove ( char010 ) ; parent = parent . getParent ( ) ; } KeyStroke backspace = KeyStroke . getKeyStroke ( "BACK_SPACE" ) ; inputMap . put ( backspace , DefaultEditorKit . deletePrevCharAction ) ; }
removes the " ctrl + h < = > backspace " behavior that java shows , for some odd reason . . .
