void () { myRoot.removeAllChildren(); if (myProject.isDefault()) return; final List<UserDefinedJsonSchemaConfiguration> list = getStoredList(); for (UserDefinedJsonSchemaConfiguration info : list) { String pathToSchema = info.getRelativePathToSchema(); final JsonSchemaConfigurable configurable = new JsonSchemaConfigurable(myProject, isAbsoluteUrl(pathToSchema) || new File(pathToSchema).isAbsolute() ? pathToSchema : new File(myProject.getBasePath(), pathToSchema).getPath(), info, myTreeUpdater, myNameCreator); configurable.setError(myError, true); myRoot.add(new MyNode(configurable)); } ((DefaultTreeModel) myTree.getModel()).reload(myRoot); if (myRoot.children().hasMoreElements()) { myTree.addSelectionRow(0); } }