if (noEmbed.isSelected()) sb.append(" -noembed ");  if (deamon.isSelected()) sb.append(" -d ");  if (newJVM.isSelected()) sb.append(" -nc ");
  private static String toArgString() {      StringBuffer sb = new StringBuffer();      sb.append(systemId.getText());      // port      if (port.getText() != null)         if (port.getText().trim().length() > 0)            sb.append(" -p " + port.getText().trim());      if (fpn.getText() != null)         if (fpn.getText().length() > 0)            sb.append(" -f " + fpn.getText());      if (!LangTool.getString("conf.labelDefault").equals(               (String)cpb.getSelectedItem()))         sb.append(" -cp " + (String)cpb.getSelectedItem());      if (ec.isSelected())         sb.append(" -e" );      if (tc.isSelected())         sb.append(" -t" );      if (!sdNormal.isSelected())         sb.append(" -132" );      if (deviceName.getText() != null)         if (deviceName.getText().trim().length() > 0)            if (deviceName.getText().trim().length() > 10)               sb.append(" -dn " + deviceName.getText().trim().substring(0,10).toUpperCase());            else               sb.append(" -dn " + deviceName.getText().trim().toUpperCase());      if (useProxy.isSelected())         sb.append(" -usp" );      if (proxyHost.getText() != null)         if (proxyHost.getText().length() > 0)            sb.append(" -sph " + proxyHost.getText());      if (proxyPort.getText() != null)         if (proxyPort.getText().length() > 0)            sb.append(" -spp " + proxyPort.getText());      return sb.toString();  }