code: public void addFormEntry(String mainLabelText, final String minorLabelText, final JComponent component) {
          if (!mainLabelText.endsWith(":")) {
              mainLabelText += ":";
          }
  
          final DCLabel mainLabel = DCLabel.dark(mainLabelText);
          mainLabel.setFont(WidgetUtils.FONT_NORMAL);
          mainLabel.setBorder(new EmptyBorder(6, 0, 0, 0));
  
          final JXLabel minorLabel;
          if (StringUtils.isNullOrEmpty(minorLabelText)) {
              minorLabel = null;
          } else {
              mainLabel.setToolTipText(minorLabelText);
  
              minorLabel = new JXLabel(minorLabelText);
              minorLabel.setLineWrap(true);
              minorLabel.setFont(WidgetUtils.FONT_SMALL);
              minorLabel.setBorder(new EmptyBorder(0, 4, 0, 0));
              minorLabel.setVerticalAlignment(JXLabel.TOP);
              minorLabel.setPreferredSize(new Dimension(FIELD_LABEL_WIDTH - 4, 0));
          }
  
          addFormEntry(mainLabel, minorLabel, component);
      }
docs: Adds a form entry to the panel
  
  @param mainLabelText
  @param minorLabelText
  @param component