}
else
df = gui.myAgent.getDescriptionOfThisDF().getName();
ConstraintDlg constraintsGui = new ConstraintDlg(gui);
//insert the constraints for the search.
SearchConstraints constraints = constraintsGui.setConstraint();
if(constraints == null) //pressed the cancel button
return;
DFAgentDscDlg dlg = new DFAgentDscDlg((Frame) gui);