code: private void btCancelActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_btCancelActionPerformed
      {//GEN-HEADEREND:event_btCancelActionPerformed
  
        if (isImporting)
        {
          worker.cancel(true);
          statementController.cancelStatements();
        }
        setVisible(false);
      }
docs: </editor-fold>//GEN-END:initComponents