CloneSet317


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11320.962block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111411
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultAxisEditor.java
212443
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultAxisEditor.java
313223
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultTitleEditor.java
Next
Last
Clone Instance
1
Line Count
11
Source Line
411
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultAxisEditor.java

{
  FontChooserPanel panel = new FontChooserPanel(this.labelFont);
  int result = JOptionPane.showConfirmDialog(this, panel, localizationResources.getString("Font_Selection"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
  if (result == JOptionPane.OK_OPTION) {
    this.labelFont = panel.getSelectedFont();
    this.labelFontField.setText(this.labelFont.getFontName() + " " + this.labelFont.getSize());
  }
}


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

{
  FontChooserPanel panel = new FontChooserPanel(this.tickLabelFont);
  int result = JOptionPane.showConfirmDialog(this, panel, localizationResources.getString("Font_Selection"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
  if (result == JOptionPane.OK_OPTION) {
    this.tickLabelFont = panel.getSelectedFont();
    this.tickLabelFontField.setText(this.tickLabelFont.getFontName() + " " + this.tickLabelFont.getSize());
  }
}


First
Previous
Clone Instance
3
Line Count
13
Source Line
223
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultTitleEditor.java

{
  FontChooserPanel panel = new FontChooserPanel(this.titleFont);
  int result = JOptionPane.showConfirmDialog(this, panel, localizationResources.getString("Font_Selection"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
  if (result == JOptionPane.OK_OPTION) {
    this.titleFont = panel.getSelectedFont();
    this.fontfield.setText(this.titleFont.getFontName() + " " + this.titleFont.getSize());
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

{
  FontChooserPanel panel = new FontChooserPanel(this. [[#variable1a8fdec0]]);
  int result = JOptionPane.showConfirmDialog(this, panel, localizationResources.getString("Font_Selection"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
  if (result == JOptionPane.OK_OPTION) {
    this. [[#variable1a8fdec0]]= panel.getSelectedFont();
    this. [[#variable1a8fdee0]].setText(this. [[#variable1a8fdec0]].getFontName() + " " + this. [[#variable1a8fdec0]].getSize());
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a8fdec0]]
labelFont 
12[[#1a8fdec0]]
tickLabelFont 
13[[#1a8fdec0]]
titleFont 
21[[#1a8fdee0]]
labelFontField 
22[[#1a8fdee0]]
tickLabelFontField 
23[[#1a8fdee0]]
fontfield