void (final @NotNull CodeStyleSettings settings) { TreeModel treeModel = myOptionsTree.getModel(); TreeNode root = (TreeNode)treeModel.getRoot(); resetNode(root, settings); ((DefaultTreeModel)treeModel).nodeChanged(root); }