if (table.getSelectedRow() == -1)
return null;
if (comboBox.getSelectedItem() == null)
return null;
ExportFormatInputMsgType a = new ExportFormatInputMsgType();
a.setAnnotationName("");
a.setFormat("XPDL 2.1");
a.setOwner(rowData[table.getSelectedRow()][2]);
a.setProcessId(Integer.valueOf(rowData[table.getSelectedRow()][1]));
a.setProcessName(rowData[table.getSelectedRow()][0]);
a.setVersionName(comboBox.getSelectedItem().toString());
a.setWithAnnotations(true);
a.setAnnotationName("Initial");
return a;
}