CloneSet49


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
46201.000statement_sequence[30]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14971
E:/TSE/Projects-CloneDR/columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/dialog/importfilter/PluginStep.java
24672
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/mailboximport/PluginStep.java
Next
Last
Clone Instance
1
Line Count
49
Source Line
71
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/dialog/importfilter/PluginStep.java

JPanel middlePanel = new JPanel();
middlePanel.setAlignmentX(1);
GridBagLayout layout = new GridBagLayout();
middlePanel.setLayout(layout);
Method method = null;
try {
  method = list.getClass().getMethod("getSelectedValue", null);
}
catch (NoSuchMethodException
       nsme) {
}
data.registerDataLookup("Plugin.ID", new DefaultDataLookup(list, method, null));
list.addListSelectionListener(this );
list.setSelectedIndex(0);
JScrollPane scrollPane = new JScrollPane(list);
scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
// scrollPane.setPreferredSize( new Dimension(200,200) );
GridBagConstraints c = new GridBagConstraints();
c.anchor = GridBagConstraints.NORTHWEST;
c.gridx = 0;
c.fill = GridBagConstraints.BOTH;
c.weightx = 0.4;
// c.gridwidth = GridBagConstraints.RELATIVE;
c.weighty = 1.0;
layout.setConstraints(scrollPane, c);
middlePanel.add(scrollPane);
c.gridwidth = GridBagConstraints.REMAINDER;
c.weightx = 0.6;
c.gridx = 1;
c.anchor = GridBagConstraints.NORTHWEST;
c.insets = new Insets(0, 10, 0, 0);
JScrollPane scrollPane2 = new JScrollPane(descriptionLabel);
scrollPane2.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
layout.setConstraints(scrollPane2, c);
middlePanel.add(scrollPane2);
component.add(middlePanel);
return component;


First
Previous
Clone Instance
2
Line Count
46
Source Line
72
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/mailboximport/PluginStep.java

JPanel middlePanel = new JPanel();
middlePanel.setAlignmentX(1);
GridBagLayout layout = new GridBagLayout();
middlePanel.setLayout(layout);
Method method = null;
try {
  method = list.getClass().getMethod("getSelectedValue", null);
}
catch (NoSuchMethodException
       nsme) {
}
data.registerDataLookup("Plugin.ID", new DefaultDataLookup(list, method, null));
list.addListSelectionListener(this );
list.setSelectedIndex(0);
JScrollPane scrollPane = new JScrollPane(list);
scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
GridBagConstraints c = new GridBagConstraints();
c.anchor = GridBagConstraints.NORTHWEST;
c.gridx = 0;
c.fill = GridBagConstraints.BOTH;
c.weightx = 0.4;
// c.gridwidth = GridBagConstraints.RELATIVE;
c.weighty = 1.0;
layout.setConstraints(scrollPane, c);
middlePanel.add(scrollPane);
c.gridwidth = GridBagConstraints.REMAINDER;
c.weightx = 0.6;
c.gridx = 1;
c.anchor = GridBagConstraints.NORTHWEST;
c.insets = new Insets(0, 10, 0, 0);
JScrollPane scrollPane2 = new JScrollPane(descriptionLabel);
scrollPane2.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
layout.setConstraints(scrollPane2, c);
middlePanel.add(scrollPane2);
component.add(middlePanel);
return component;


Clone AbstractionParameter Count: 0Parameter Bindings

JPanel middlePanel = new JPanel();
middlePanel.setAlignmentX(1);
GridBagLayout layout = new GridBagLayout();
middlePanel.setLayout(layout);
Method method = null;
try {
  method = list.getClass().getMethod("getSelectedValue", null);
}
catch (NoSuchMethodException
       nsme) {
}
data.registerDataLookup("Plugin.ID", new DefaultDataLookup(list, method, null));
list.addListSelectionListener(this );
list.setSelectedIndex(0);
JScrollPane scrollPane = new JScrollPane(list);
scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
// scrollPane.setPreferredSize( new Dimension(200,200) );
GridBagConstraints c = new GridBagConstraints();
c.anchor = GridBagConstraints.NORTHWEST;
c.gridx = 0;
c.fill = GridBagConstraints.BOTH;
c.weightx = 0.4;
// c.gridwidth = GridBagConstraints.RELATIVE;
c.weighty = 1.0;
layout.setConstraints(scrollPane, c);
middlePanel.add(scrollPane);
c.gridwidth = GridBagConstraints.REMAINDER;
c.weightx = 0.6;
c.gridx = 1;
c.anchor = GridBagConstraints.NORTHWEST;
c.insets = new Insets(0, 10, 0, 0);
JScrollPane scrollPane2 = new JScrollPane(descriptionLabel);
scrollPane2.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
layout.setConstraints(scrollPane2, c);
middlePanel.add(scrollPane2);
component.add(middlePanel);
return component;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None