CloneSet383


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7530.958method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17430
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultAxisEditor.java
26243
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultChartEditor.java
37251
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultNumberAxisEditor.java
48475
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultPlotEditor.java
57505
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultPlotEditor.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
430
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultAxisEditor.java

/**
 * Allows the user the opportunity to change the outline paint.
 */
private void attemptModifyLabelPaint() {
  Color c;
  c = JColorChooser.showDialog(this, localizationResources.getString("Label_Color"), Color.blue);
  if (c != null) {
    this.labelPaintSample.setPaint(c);
  }
}


Next
Previous
Clone Instance
2
Line Count
6
Source Line
243
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultChartEditor.java

/**
 * Allows the user the opportunity to select a new background paint.  Uses
 * JColorChooser, so we are only allowing a subset of all Paint objects to
 * be selected (fix later).
 */
private void attemptModifyBackgroundPaint() {
  Color c;
  c = JColorChooser.showDialog(this, localizationResources.getString("Background_Color"), Color.blue);
  if (c != null) {
    this.background.setPaint(c);
  }
}


Next
Previous
Clone Instance
3
Line Count
7
Source Line
251
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultNumberAxisEditor.java

/**
 * Handle a grid paint selection.
 */
private void attemptGridPaintSelection() {
  Color c;
  c = JColorChooser.showDialog(this, localizationResources.getString("Grid_Color"), Color.blue);
  if (c != null) {
    this.gridPaintSample.setPaint(c);
  }
}


Next
Previous
Clone Instance
4
Line Count
8
Source Line
475
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultPlotEditor.java

/**
 * Allow the user to change the background paint.
 */
private void attemptBackgroundPaintSelection() {
  Color c;
  c = JColorChooser.showDialog(this, localizationResources.getString("Background_Color"), Color.blue);
  if (c != null) {
    this.backgroundPaintSample.setPaint(c);
  }
}


First
Previous
Clone Instance
5
Line Count
7
Source Line
505
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultPlotEditor.java

/**
 * Allow the user to change the outline paint.  We use JColorChooser, so
 * the user can only choose colors (a subset of all possible paints).
 */
private void attemptOutlinePaintSelection() {
  Color c;
  c = JColorChooser.showDialog(this, localizationResources.getString("Outline_Color"), Color.blue);
  if (c != null) {
    this.outlinePaintSample.setPaint(c);
  }
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
     * Allows the user the opportunity to change the outline paint.
     */
/**
     * Allows the user the opportunity to select a new background paint.  Uses
     * JColorChooser, so we are only allowing a subset of all Paint objects to
     * be selected (fix later).
     */
/**
     * Handle a grid paint selection.
     */
/**
     * Allow the user to change the outline paint.  We use JColorChooser, so
     * the user can only choose colors (a subset of all possible paints).
     */
/**
     * Allow the user to change the background paint.
     */
private void [[#variable1a9717c0]]() {
  Color c;
  c = JColorChooser.showDialog(this, localizationResources.getString( [[#variable1a971840]]), Color.blue);
  if (c != null) {
    this. [[#variable1a9717e0]].setPaint(c);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a9717c0]]
attemptModifyLabelPaint 
12[[#1a9717c0]]
attemptModifyBackgroundPaint 
13[[#1a9717c0]]
attemptGridPaintSelection 
14[[#1a9717c0]]
attemptBackgroundPaintSelection 
15[[#1a9717c0]]
attemptOutlinePaintSelection 
21[[#1a971840]]
"Label_Color" 
22[[#1a971840]]
"Background_Color" 
23[[#1a971840]]
"Grid_Color" 
24[[#1a971840]]
"Background_Color" 
25[[#1a971840]]
"Outline_Color" 
31[[#1a9717e0]]
labelPaintSample 
32[[#1a9717e0]]
background 
33[[#1a9717e0]]
gridPaintSample 
34[[#1a9717e0]]
backgroundPaintSample 
35[[#1a9717e0]]
outlinePaintSample