private void updateLabels() {
    if (!mySimpleDesignMode) {
      return;
    }

    int length = myPanels.length;

    if (length == 1) {
      OneElementComponent panel = myPanels[0];
      int count = panel.getComponentCount();

      panel.myShowSelection = false;

      for (int i = 0; i < count; i++) {
        OneLineComponent line = (OneLineComponent)panel.getComponent(i);
        line.myLabel.setIcon(null);
        line.myLabel.setIconTextGap(0);
      }
    }
    else {
      for (OneElementComponent panel : myPanels) {
        if (panel.myShowSelection) {
          int count = panel.getComponentCount();
          if (count > 1) {
            for (int i = 1; i < count; i++) {
              OneLineComponent line = (OneLineComponent)panel.getComponent(i);
              line.myLabel.setIcon(EmptyIcon.ICON_16);
            }
          }
        }
      }
    }
  }
private void updateLabels()