}
@Override public void flush() { }
@Override public void close() throws SecurityException { }
});
cvRedirectError(new JavaCvErrorCallback(true, MainFrame.this) {
@Override public int call(int status, String func_name, String err_msg,
String file_name, int line, Pointer userdata) {
super.call(status, func_name, err_msg, file_name, line, userdata);
if (calibrationWorker != null) {
calibrationWorker.cancel(false);