public void forceCancelAndClose() { ICFDbTestOptFullRangeObj focus = getJavaFXFocusAsOptFullRange(); if (cfFormManager != null) { if (cfFormManager.getCurrentForm() == this) { cfFormManager.closeCurrentForm(); } } if (deleteCallback != null) { deleteCallback.formClosed(null); } }