* Creates a control issued when the window containing this view is closed.
* @return the control issued when the window containing this view is closed
* @exception NullPointerException if the control is null
*/
public Control createCloseControl() throws NullPointerException {
Control c = new Control();
if (c != null) {
c.setId(Record.DESTROY_LOAD_PATIENT_DIALOG_CONTROL_ID);
c.setSender((Controller) getController());
} else {
throw new NullPointerException("Could not create close control. The control is null.");
}
return c;
}