for (int i = 0; i < GROUP_BY_ORDER_LIST.length; ++i) { DefaultMutableTreeNode bugRootNode = new DefaultMutableTreeNode(); DefaultTreeModel bugTreeModel = new DefaultTreeModel(bugRootNode);  String groupByOrder = GROUP_BY_ORDER_LIST[i]; analysisRun.setTreeModel(groupByOrder, bugTreeModel); populateAnalysisRunTreeModel(analysisRun, groupByOrder); if (i < bugTreeList.length) bugTreeList[i].setModel(bugTreeModel); }  currentAnalysisRun = analysisRun;
for (int i = 0; i < GROUP_BY_ORDER_LIST.length; ++i) { DefaultMutableTreeNode bugRootNode = new DefaultMutableTreeNode(); DefaultTreeModel bugTreeModel = new DefaultTreeModel(bugRootNode);
    private void synchAnalysisRun(AnalysisRun analysisRun) {        // Create and populate tree models        for (int i = 0; i < GROUP_BY_ORDER_LIST.length; ++i) {            DefaultMutableTreeNode bugRootNode = new DefaultMutableTreeNode();            DefaultTreeModel bugTreeModel = new DefaultTreeModel(bugRootNode);                        String groupByOrder = GROUP_BY_ORDER_LIST[i];            analysisRun.setTreeModel(groupByOrder, bugTreeModel);            populateAnalysisRunTreeModel(analysisRun, groupByOrder);            if (i < bugTreeList.length)                bugTreeList[i].setModel(bugTreeModel);        }                currentAnalysisRun = analysisRun;        //set the summary output	setSummary( analysisRun.getSummary() );        setView("BugTree");    }