private void setToComponent(final JComponent cmp, final boolean requestFocus) {
    myMatchingCountPanel.removeAll();
    myMatchingCountPanel.add(cmp, BorderLayout.CENTER);
    myMatchingCountPanel.revalidate();
    myMatchingCountPanel.repaint();
    if (requestFocus) {
      myPatternField.getTextField().requestFocusInWindow();
    }
  }
private void setToComponent(final JComponent cmp, final boolean requestFocus)