private JPanel createPanel() { JPanel jpanel1 = new JPanel(); FormLayout formlayout1 = new FormLayout( "FILL:DEFAULT:GROW(1.0),3DLU,FILL:DEFAULT:NONE", "CENTER:DEFAULT:NONE,1DLU,FILL:DEFAULT:GROW(1.0),3DLU,CENTER:DEFAULT:NONE"); CellConstraints cc = new CellConstraints(); jpanel1.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12)); jpanel1.setLayout(formlayout1); JLabel jlabel1 = new JLabel(); jlabel1.setText("External Tools:"); jpanel1.add(jlabel1, cc.xy(1, 1)); JScrollPane scrollPane = new JScrollPane(list); scrollPane.setPreferredSize(new Dimension(250, 150)); jpanel1.add(scrollPane, cc.xy(1, 3)); jpanel1.add(createPanel1(), new CellConstraints(3, 3, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP)); return jpanel1;
private JPanel createPanel() { JPanel jpanel1 = new JPanel(); FormLayout formlayout1 = new FormLayout( "FILL:DEFAULT:GROW(1.0),3DLU,FILL:DEFAULT:NONE", "CENTER:DEFAULT:NONE,1DLU,FILL:DEFAULT:GROW(1.0),3DLU,CENTER:DEFAULT:NONE"); CellConstraints cc = new CellConstraints(); jpanel1.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12)); jpanel1.setLayout(formlayout1); JLabel jlabel1 = new JLabel(); jlabel1.setText("Columns:"); jpanel1.add(jlabel1, cc.xy(1, 1)); JScrollPane scrollPane = new JScrollPane(list); scrollPane.setPreferredSize(new Dimension(250, 200)); jpanel1.add(scrollPane, cc.xy(1, 3)); jpanel1.add(createPanel1(), new CellConstraints(3, 3, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP)); return jpanel1;
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/externaltools/ExternalToolsDialog.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/columns/ColumnConfigDialog.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
private JPanel createPanel() {
1
private JPanel createPanel() {
2
		JPanel jpanel1 = new JPanel();
2
		JPanel jpanel1 = new JPanel();
3
		FormLayout formlayout1 = new FormLayout(
3
		FormLayout formlayout1 = new FormLayout(
4
				"FILL:DEFAULT:GROW(1.0),3DLU,FILL:DEFAULT:NONE",
4
				"FILL:DEFAULT:GROW(1.0),3DLU,FILL:DEFAULT:NONE",
5
				"CENTER:DEFAULT:NONE,1DLU,FILL:DEFAULT:GROW(1.0),3DLU,CENTER:DEFAULT:NONE");
5
				"CENTER:DEFAULT:NONE,1DLU,FILL:DEFAULT:GROW(1.0),3DLU,CENTER:DEFAULT:NONE");
6
		CellConstraints cc = new CellConstraints();
6
		CellConstraints cc = new CellConstraints();
7
		jpanel1.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12));
7
		jpanel1.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12));
8
		jpanel1.setLayout(formlayout1);
8
		jpanel1.setLayout(formlayout1);
9
		JLabel jlabel1 = new JLabel();
9
		JLabel jlabel1 = new JLabel();
10
		jlabel1.setText("External Tools:");
10
		jlabel1.setText("Columns:");
11
		jpanel1.add(jlabel1, cc.xy(1, 1));
11
		jpanel1.add(jlabel1, cc.xy(1, 1));
12
		JScrollPane scrollPane = new JScrollPane(list);
12
		JScrollPane scrollPane = new JScrollPane(list);
13
		scrollPane.setPreferredSize(new Dimension(250, 150));
13
		scrollPane.setPreferredSize(new Dimension(250, 200));
14
		jpanel1.add(scrollPane, cc.xy(1, 3));
14
		jpanel1.add(scrollPane, cc.xy(1, 3));
15
		jpanel1.add(createPanel1(), new CellConstraints(3, 3, 1, 1,
15
		jpanel1.add(createPanel1(), new CellConstraints(3, 3, 1, 1,
16
				CellConstraints.DEFAULT, CellConstraints.TOP));
16
				CellConstraints.DEFAULT, CellConstraints.TOP));
17
		return jpanel1;
17
		return jpanel1;
18
	
18
	
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