View | Details | Raw Unified | Return to bug 63822
Collapse All | Expand All

(-)a/src/components/src/main/java/org/apache/jmeter/visualizers/ViewResultsFullVisualizer.java (-1 / +2 lines)
Lines 515-525 implements ActionListener, TreeSelectionListener, Clearable, ItemListener { Link Here
515
                    // to restore last selected tab (better user-friendly)
515
                    // to restore last selected tab (better user-friendly)
516
                    selectedTab = rightSide.getSelectedIndex();
516
                    selectedTab = rightSide.getSelectedIndex();
517
                    // Remove old right side
517
                    // Remove old right side
518
                    int dividerLocation = mainSplit.getDividerLocation();
518
                    mainSplit.remove(rightSide);
519
                    mainSplit.remove(rightSide);
519
520
520
                    // create and add a new right side
521
                    // create and add a new right side
521
                    rightSide = new JTabbedPane();
522
                    rightSide = new JTabbedPane();
522
                    mainSplit.add(rightSide);
523
                    mainSplit.add(rightSide);
524
                    mainSplit.setDividerLocation(dividerLocation);
523
                    resultsRender.setRightSide(rightSide);
525
                    resultsRender.setRightSide(rightSide);
524
                    resultsRender.setLastSelectedTab(selectedTab);
526
                    resultsRender.setLastSelectedTab(selectedTab);
525
                    log.debug("selectedTab={}", selectedTab);
527
                    log.debug("selectedTab={}", selectedTab);
526
- 

Return to bug 63822