public void initGroupValues(final boolean useDefault) {
   jCheckBoxCVS.removeActionListener(this);
   jCheckBoxTests.removeActionListener(this);
   vps.register(jCheckBoxCVS, DefaultPropertiesDescriptor.FILTER_USE_STANDARD, useDefault);
   vps.register(jCheckBoxTests, DefaultPropertiesDescriptor.FILTER_EXCLUDE_TESTS, useDefault);
   vps.register(jTextFieldExcludes, DefaultPropertiesDescriptor.FILTER_MORE_EXCLUDES, useDefault);
   this.excludesTranslatedPropertyName =
       VisualPropertySupport.translatePropertyName(
           configuration, DefaultPropertiesDescriptor.FILTER_EXCLUDES, useDefault);
   initTree();
   treeView.setEditable(!useDefault);
   jLabelTree.setEnabled(!useDefault);
   jLabelExcludes.setEnabled(!useDefault);
   jCheckBoxCVS.addActionListener(this);
   jCheckBoxTests.addActionListener(this);
 }
 public void initValues(ProjectProperties props, String configuration) {
   this.vps = VisualPropertySupport.getDefault(props);
   this.properties = props;
   this.configuration = configuration;
   this.srcRoot = props.getSourceRoot();
   if (srcRoot == null) {
     // Issue 153666 - getting projects instantiated w/ nonexistent source
     // roots.  props.toString() will call project.toString(), hopefully
     // provide some better info
     Logger.getLogger(getClass().getName())
         .log(Level.INFO, "Source root null for " + props); // NOI18N
     srcRoot = FileUtil.createMemoryFileSystem().getRoot();
   }
   treeView.setSrcRoot(srcRoot);
   vps.register(defaultCheck, configuration, this);
 }