@Override
 protected void afterTestConnection(final boolean b) {
   super.afterTestConnection(b);
   if (b) {
     updateProjects();
   }
 }
 @Override
 public void setAnchor(@Nullable final JComponent anchor) {
   super.setAnchor(anchor);
   myHostLabel.setAnchor(anchor);
   myRepositoryLabel.setAnchor(anchor);
   myTokenLabel.setAnchor(anchor);
 }
 @Override
 public void apply() {
   myRepository.setRepoName(getRepoName());
   myRepository.setRepoAuthor(getRepoAuthor());
   myRepository.setToken(getToken());
   super.apply();
 }
 @Override
 public void apply() {
   if (!myRepository.getUrl().equals(myURLText.getText())
       || !myRepository.getUsername().equals(myUserNameText.getText())
       || !myRepository.getPassword().equals(myPasswordText.getText())) {
     resetComboBoxes();
   } else {
     final Object selectedProjectObject = myProjectCombobox.getModel().getSelectedItem();
     final Object selectedFilterObject = myFilterCombobox.getModel().getSelectedItem();
     if (selectedProjectObject != null
         && selectedFilterObject != null
         && selectedProjectObject instanceof MantisProject
         && selectedFilterObject instanceof MantisFilter) {
       myRepository.setProject((MantisProject) selectedProjectObject);
       myRepository.setFilter((MantisFilter) selectedFilterObject);
     }
   }
   super.apply();
 }
 @Override
 public void setAnchor(@Nullable final JComponent anchor) {
   super.setAnchor(anchor);
   myProjectLabel.setAnchor(anchor);
   myFilterLabel.setAnchor(anchor);
 }