KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager ();
Container focusCycleRoot = getFocusCycleRootAncestor(); while (focusCycleRoot != null && ! (focusCycleRoot.isShowing() && focusCycleRoot.isFocusable() && focusCycleRoot.isEnabled())) { focusCycleRoot = focusCycleRoot.getFocusCycleRootAncestor(); }
  public void transferFocusUpCycle ()  {    KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager ();    manager.upFocusCycle (this);	}