private boolean processAccessKey(String keyStr,HTMLComponent htmlC,Component ui,boolean override){
  if (keyStr.startsWith("\\")) {
    try {
      int keyCode=Integer.parseInt(keyStr.substring(1),16);
      htmlC.addAccessKey((char)keyCode,ui,override);
      return true;
    }
 catch (    NumberFormatException nfe) {
      return false;
    }
  }
 else   if (keyStr.length() == 1) {
    htmlC.addAccessKey(keyStr.charAt(0),ui,override);
    return true;
  }
 else {
    if (specialKeys != null) {
      Integer key=(Integer)specialKeys.get(keyStr);
      if (key != null) {
        htmlC.addAccessKey(key.intValue(),ui,override);
        return true;
      }
    }
    return false;
  }
}

private boolean processAccessKey ( String keyStr , HTMLComponent htmlC , Component ui , boolean override ) { if ( keyStr . startsWith ( "\\" ) ) { try { int keyCode = Integer . parseInt ( keyStr . substring ( 1 ) , 16 ) ; htmlC . addAccessKey ( ( char ) keyCode , ui , override ) ; return true ; } catch ( NumberFormatException nfe ) { return false ; } } else if ( keyStr . length ( ) == 1 ) { htmlC . addAccessKey ( keyStr . charAt ( 0 ) , ui , override ) ; return true ; } else { if ( specialKeys != null ) { Integer key = ( Integer ) specialKeys . get ( keyStr ) ; if ( key != null ) { htmlC . addAccessKey ( key . intValue ( ) , ui , override ) ; return true ; } } return false ; } }
tries to assign the given key string as an access key to the specified component the key string given here is a single key
