CloneSet87


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18210.996class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11859
E:/TSE/Projects-CloneDR/jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/action/LookAndFeelCommand.java
21852
E:/TSE/Projects-CloneDR/jakarta-jmeter-2.3.2/src/org/apache/jmeter/report/gui/action/ReportLookAndFeelCommand.java
Next
Last
Clone Instance
1
Line Count
18
Source Line
59
Source File
E:/TSE/Projects-CloneDR/jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/action/LookAndFeelCommand.java

public void doAction(ActionEvent ev) {
  try {
    String className = ev.getActionCommand().substring(4).replace('/', '.');
    UIManager.setLookAndFeel(className);
    SwingUtilities.updateComponentTreeUI(GuiPackage.getInstance().getMainFrame());
  }
  catch (javax.swing.UnsupportedLookAndFeelException
         e) {
    JMeterUtils.reportErrorToUser("Look and Feel unavailable:" + e.toString());
  }
  catch (InstantiationException
         e) {
    JMeterUtils.reportErrorToUser("Look and Feel unavailable:" + e.toString());
  }
  catch (ClassNotFoundException
         e) {
    JMeterUtils.reportErrorToUser("Look and Feel unavailable:" + e.toString());
  }
  catch (IllegalAccessException
         e) {
    JMeterUtils.reportErrorToUser("Look and Feel unavailable:" + e.toString());
  }
}

public Set getActionNames() {
  return commands;
}


First
Previous
Clone Instance
2
Line Count
18
Source Line
52
Source File
E:/TSE/Projects-CloneDR/jakarta-jmeter-2.3.2/src/org/apache/jmeter/report/gui/action/ReportLookAndFeelCommand.java

public void doAction(ActionEvent ev) {
  try {
    String className = ev.getActionCommand().substring(4).replace('/', '.');
    UIManager.setLookAndFeel(className);
    SwingUtilities.updateComponentTreeUI(ReportGuiPackage.getInstance().getMainFrame());
  }
  catch (javax.swing.UnsupportedLookAndFeelException
         e) {
    JMeterUtils.reportErrorToUser("Look and Feel unavailable:" + e.toString());
  }
  catch (InstantiationException
         e) {
    JMeterUtils.reportErrorToUser("Look and Feel unavailable:" + e.toString());
  }
  catch (ClassNotFoundException
         e) {
    JMeterUtils.reportErrorToUser("Look and Feel unavailable:" + e.toString());
  }
  catch (IllegalAccessException
         e) {
    JMeterUtils.reportErrorToUser("Look and Feel unavailable:" + e.toString());
  }
}

public Set getActionNames() {
  return commands;
}


Clone AbstractionParameter Count: 1Parameter Bindings

public void doAction(ActionEvent ev) {
  try {
    String className = ev.getActionCommand().substring(4).replace('/', '.');
    UIManager.setLookAndFeel(className);
    SwingUtilities.updateComponentTreeUI( [[#variablee062fe0]].getInstance().getMainFrame());
  }
  catch (javax.swing.UnsupportedLookAndFeelException
         e) {
    JMeterUtils.reportErrorToUser("Look and Feel unavailable:" + e.toString());
  }
  catch (InstantiationException
         e) {
    JMeterUtils.reportErrorToUser("Look and Feel unavailable:" + e.toString());
  }
  catch (ClassNotFoundException
         e) {
    JMeterUtils.reportErrorToUser("Look and Feel unavailable:" + e.toString());
  }
  catch (IllegalAccessException
         e) {
    JMeterUtils.reportErrorToUser("Look and Feel unavailable:" + e.toString());
  }
}

public Set getActionNames() {
  return commands;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#e062fe0]]
GuiPackage 
12[[#e062fe0]]
ReportGuiPackage