code: public void addFormEntry(final JLabel mainLabel, final JLabel minorLabel, final JComponent component) {
          add(mainLabel, new GridBagConstraints(0, _rowCounter, 1, 1, 0d, 0d, GridBagConstraints.NORTHWEST,
                  GridBagConstraints.BOTH, INSETS, 0, 0));
  
          if (minorLabel != null) {
              add(minorLabel, new GridBagConstraints(0, _rowCounter + 1, 1, 1, 0d, 1d, GridBagConstraints.NORTHWEST,
                      GridBagConstraints.BOTH, INSETS, 0, 0));
          }
  
          add(component, new GridBagConstraints(1, _rowCounter, 1, 2, 1d, 1d, GridBagConstraints.NORTHEAST,
                  GridBagConstraints.BOTH, INSETS, 0, 0));
  
          // each property spans two "rows"
          _rowCounter = _rowCounter + 2;
      }
docs: Adds a form entry to the panel
  
  @param mainLabel
  @param minorLabel
  @param component