private JPanel createPanel1() { JPanel jpanel1 = new JPanel(); FormLayout formlayout1 = new FormLayout( "FILL:DEFAULT:NONE", "CENTER:DEFAULT:NONE,3DLU,CENTER:DEFAULT:NONE,3DLU,CENTER:DEFAULT:NONE,3DLU, CENTER:DEFAULT:NONE"); CellConstraints cc = new CellConstraints(); jpanel1.setLayout(formlayout1); jpanel1.add(addButton, cc.xy(1, 1)); jpanel1.add(editButton, cc.xy(1, 3)); jpanel1.add(removeButton, cc.xy(1, 5)); return jpanel1;
public JPanel createPanel1() { JPanel jpanel1 = new JPanel(); FormLayout formlayout1 = new FormLayout( "LEFT:DEFAULT:NONE,3DLU,FILL:DEFAULT:GROW(1.0),3DLU,FILL:DEFAULT:NONE", "FILL:DEFAULT:NONE"); CellConstraints cc = new CellConstraints(); jpanel1.setLayout(formlayout1); jpanel1.add(folderLabel, cc.xy(1, 1)); jpanel1.add(selectButton, cc.xy(3, 1)); jpanel1.add(includeSubfolderButton, cc.xy(5, 1)); return jpanel1;
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/profiles/ProfileManagerDialog.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/search/SearchFrame.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
private JPanel createPanel1() {
1
public JPanel createPanel1() {
2
		JPanel jpanel1 = new JPanel();
2
		JPanel jpanel1 = new JPanel();
3
		FormLayout formlayout1 = new FormLayout(
3
		FormLayout formlayout1 = new FormLayout(
4
				"FILL:DEFAULT:NONE",
4
				"
5
				"CENTER:DEFAULT:NONE,3DLU,CENTER:DEFAULT:NONE,3DLU,CENTER:DEFAULT:NONE,3DLU, CENTER
5
LEFT:DEFAULT:NONE,3DLU,FILL:DEFAULT:GROW(1.0),3DLU,FILL:DEFAULT:NONE",
6
:DEFAULT:NONE");
6
				"FILL:DEFAULT:NONE");
7
		CellConstraints cc = new CellConstraints();
7
		CellConstraints cc = new CellConstraints();
8
		jpanel1.setLayout(formlayout1);
8
		jpanel1.setLayout(formlayout1);
9
		jpanel1.add(addButton, cc.xy(1, 1));
9
		jpanel1.add(folderLabel, cc.xy(1, 1));
10
		jpanel1.add(editButton, cc.xy(1, 3));
10
		jpanel1.add(selectButton, cc.xy(3, 1));
11
		jpanel1.add(removeButton, cc.xy(1, 5));
11
		jpanel1.add(includeSubfolderButton, cc.xy(5, 1));
12
		return jpanel1;
12
		return jpanel1;
13
	
13
	
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0