public void setTarget ( JComponent target , KeyTranslator xlate ) { setEnabled ( false ) ; // save off references _target = target ; _xlate = xlate ; }
Initializes the keyboard manager with the supplied target component and key translator and disables the keyboard manager if it is currently active .