interior.add( new JLabel(localizationResources.getString("Draw_lines")) ); this.drawLinesCheckBox = new JCheckBox(); this.drawLinesCheckBox.setSelected(this.drawLines.booleanValue()); this.drawLinesCheckBox.setActionCommand("DrawLines"); this.drawLinesCheckBox.addActionListener(this); interior.add(new JPanel()); interior.add(this.drawLinesCheckBox);
interior.add( new JLabel(localizationResources.getString("Draw_shapes")) ); this.drawShapesCheckBox = new JCheckBox(); this.drawShapesCheckBox.setSelected(this.drawShapes.booleanValue()); this.drawShapesCheckBox.setActionCommand("DrawShapes"); this.drawShapesCheckBox.addActionListener(this); interior.add(new JPanel()); interior.add(this.drawShapesCheckBox);
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultPlotEditor.java File path: /jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultPlotEditor.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
interior.add(
1
interior.add(
2
                new JLabel(localizationResources.getString("Draw_lines"))
2
                new JLabel(localizationResources.getString("Draw_shapes"))
3
            );
3
            );
4
            this.drawLinesCheckBox = new JCheckBox();
4
            this.drawShapesCheckBox = new JCheckBox();
5
            this.drawLinesCheckBox.setSelected(this.drawLines.booleanValue());
5
            this.drawShapesCheckBox.setSelected(this.drawShapes.booleanValue());
6
            this.drawLinesCheckBox.setActionCommand("DrawLines");
6
            this.drawShapesCheckBox.setActionCommand("DrawShapes");
7
            this.drawLinesCheckBox.addActionListener(this);
7
            this.drawShapesCheckBox.addActionListener(this);
8
            interior.add(new JPanel());
8
            interior.add(new JPanel());
9
            interior.add(this.drawLinesCheckBox);
9
            interior.add(this.drawShapesCheckBox);
10
        
10
        
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0