public static EditVariableDialog CreateEditVariableDialog(final JFrame parent,final String existingVariableName){
  return new EditVariableDialog(parent,"Edit variable name",existingVariableName);
}

public static EditVariableDialog CreateEditVariableDialog ( final JFrame parent , final String existingVariableName ) { return new EditVariableDialog ( parent , "Edit variable name" , existingVariableName ) ; }
instantiates a dialog that can be used to edit the name of a variable .
