private void addLine(GridField field,VEditor editor,boolean mandatory){
  log.fine("Field=" + field);
  JLabel label=VEditorFactory.getLabel(field);
  label.setLabelFor((Component)editor);
  editor.setReadWrite(true);
  editor.setMandatory(mandatory);
  field.addPropertyChangeListener(editor);
  if (m_newRow) {
    m_gbc.gridy=m_line++;
    m_gbc.gridx=0;
  }
 else   m_gbc.gridx=2;
  m_gbc.insets=m_labelInsets;
  m_gbc.fill=GridBagConstraints.HORIZONTAL;
  m_gbc.weightx=0;
  parameterPanel.add(label,m_gbc);
  if (m_newRow)   m_gbc.gridx=1;
 else   m_gbc.gridx=3;
  m_gbc.insets=m_fieldInsets;
  m_gbc.fill=GridBagConstraints.HORIZONTAL;
  m_gbc.weightx=1;
  parameterPanel.add((Component)editor,m_gbc);
  m_newRow=!m_newRow;
}

private void addLine ( GridField field , VEditor editor , boolean mandatory ) { log . fine ( "Field=" + field ) ; JLabel label = VEditorFactory . getLabel ( field ) ; label . setLabelFor ( ( Component ) editor ) ; editor . setReadWrite ( true ) ; editor . setMandatory ( mandatory ) ; field . addPropertyChangeListener ( editor ) ; if ( m_newRow ) { m_gbc . gridy = m_line ++ ; m_gbc . gridx = 0 ; } else m_gbc . gridx = 2 ; m_gbc . insets = m_labelInsets ; m_gbc . fill = GridBagConstraints . HORIZONTAL ; m_gbc . weightx = 0 ; parameterPanel . add ( label , m_gbc ) ; if ( m_newRow ) m_gbc . gridx = 1 ; else m_gbc . gridx = 3 ; m_gbc . insets = m_fieldInsets ; m_gbc . fill = GridBagConstraints . HORIZONTAL ; m_gbc . weightx = 1 ; parameterPanel . add ( ( Component ) editor , m_gbc ) ; m_newRow = ! m_newRow ; }
add editor to parameterpanel alternative right / left depending on m_newrow . field value changes update editors
