public JComponent getPreferredFocusedComponent() {
    return mySpacesPanel != null ? mySpacesPanel.getPreferredFocusedComponent()
                                 : myWrappingPanel.getPreferredFocusedComponent();
  }
public JComponent getPreferredFocusedComponent()