code: private void cmdCancelOperationActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdCancelOperationActionPerformed
  		try {
  			monitor.cancel();
  		} 
  		catch (Exception e) {
              OptionPaneUtils.showPrettyMessageDialog(null, e.getMessage(), "Error", JOptionPane.ERROR_MESSAGE);
  		}
  	}
docs: </editor-fold>//GEN-END:initComponents