public void setNameFieldShown(boolean shown) {
    ensureUiInitialized();
    if (myNamePanel.isVisible() == shown) return;

    myNamePanel.setVisible(shown);
    myWholePanel.revalidate();
    myWholePanel.repaint();
  }
public void setNameFieldShown(boolean shown)