sm.checkPermission(new AWTPermission("replaceKeyboardFocusManager"));  current = m == null ? new DefaultKeyboardFocusManager() : m; }
sm.checkPermission (new AWTPermission ("replaceKeyboardFocusManager"));  ThreadGroup currentGroup = Thread.currentThread ().getThreadGroup (); KeyboardFocusManager manager;  if (m == null) manager = new DefaultKeyboardFocusManager (); else manager = m;  currentKeyboardFocusManagers.put (currentGroup, manager); }
  public static void setCurrentKeyboardFocusManager(KeyboardFocusManager m)  {    SecurityManager sm = System.getSecurityManager();    if (sm != null)      sm.checkPermission(new AWTPermission("replaceKeyboardFocusManager"));    // XXX Need a way to divide this into contexts.    current = m == null ? new DefaultKeyboardFocusManager() : m;  }