CloneSet367


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14210.995method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114166
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/demo/SWTBarChartDemo1.java
215109
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/demo/SWTPieChartDemo1.java
Next
Last
Clone Instance
1
Line Count
14
Source Line
166
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/demo/SWTBarChartDemo1.java

/**
 * Starting point for the demonstration application.
 *
 * @param args  ignored.
 */
public static void main(String[] args) {
  JFreeChart chart = createChart(createDataset());
  Display display = new Display();
  Shell shell = new Shell(display);
  shell.setSize(600, 300);
  shell.setLayout(new FillLayout());
  shell.setText("Test for jfreechart running with SWT");
  final ChartComposite frame = new ChartComposite(shell, SWT.NONE, chart, true);
  frame.pack();
  shell.open();
  while ( !shell.isDisposed()) {
    if ( !display.readAndDispatch())
      display.sleep();
  }
}


First
Previous
Clone Instance
2
Line Count
15
Source Line
109
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/demo/SWTPieChartDemo1.java

/**
 * Starting point for the demonstration application.
 *
 * @param args  ignored.
 */
public static void main(String[] args) {
  JFreeChart chart = createChart(createDataset());
  Display display = new Display();
  Shell shell = new Shell(display);
  shell.setSize(600, 400);
  shell.setLayout(new FillLayout());
  shell.setText("Test for jfreechart running with SWT");
  final ChartComposite frame = new ChartComposite(shell, SWT.NONE, chart, true);
  //frame.setDisplayToolTips(false);
  frame.pack();
  shell.open();
  while ( !shell.isDisposed()) {
    if ( !display.readAndDispatch())
      display.sleep();
  }
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Starting point for the demonstration application.
     *
     * @param args  ignored.
     */
public static void main(String[] args) {
  JFreeChart chart = createChart(createDataset());
  Display display = new Display();
  Shell shell = new Shell(display);
  shell.setSize(600,  [[#variable1a953a20]]);
  shell.setLayout(new FillLayout());
  shell.setText("Test for jfreechart running with SWT");
  final ChartComposite frame = new ChartComposite(shell, SWT.NONE, chart, true);
  //frame.setDisplayToolTips(false);
  frame.pack();
  shell.open();
  while ( !shell.isDisposed()) {
    if ( !display.readAndDispatch())
      display.sleep();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a953a20]]
300 
12[[#1a953a20]]
400