_worker.setStopImporting(true);
_worker.getDictionaryProvider().setStopImporting(true);
  public DicsToImportPanel(String id)   {    super(id);        _dictList.clear();        updateDicList();        Form form = new InputForm("formImport");    add(form);        _fileGroup = new RadioGroup("rgFile");    _fileGroup.setModel(new Model());        _lstDicts = new ListView("listView", _dictList)     {      protected void populateItem(ListItem item)       {        final File f = (File) item.getModelObject();        item.add(new Radio("radFileName", new Model(f.getName())));        item.add(new Label("lblFileName", new Model(f.getName())));              }    };           _fileGroup.add(_lstDicts);    form.add(_fileGroup);        add(new FeedbackPanel("feedback"));        _lblProgress = new Label("lblProgress", new PropertyModel(this, "progress"));    _lblProgress.setVisible(false);    add(_lblProgress);    _lblProgress.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(1)));        _txtName = new TextField("txtName");    _txtName.setModel(new Model(""));    form.add(_txtName);        form.add(new Button("btImport", new Model("Import")));        _lnkAbort = new Link("lnkAbort") {      public void onClick()       {        if(_thread != null && _thread.isAlive())        {          _lnkAbort.setVisible(false);          _lblProgress.setVisible(false);          _worker.setStopImporting(true);        }      }    };    _lnkAbort.setVisible(false);    add(_lnkAbort);  }