void addTo(Component component) {
      for (Component c : UIUtil.uiTraverser(component)) {
        if (c instanceof Container) {
          ((Container)c).addContainerListener(this);
        }
        if (c instanceof ActionButtonComponent) {
          assert c instanceof JComponent;
          fixMacMnemonicKeyStroke((JComponent)c, null);
        }
        MnemonicWrapper.getWrapper(c);
      }
    }
void addTo(Component component)