private JPanel createBottomPanel() { JPanel bottomPanel = new JPanel(new BorderLayout()); bottomPanel.setBorder(new SingleSideEtchedBorder(SwingConstants.TOP)); JPanel buttonPanel = new JPanel(new GridLayout(1, 3, 6, 0)); buttonPanel.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12)); closeButton = new ButtonWithMnemonic(GlobalResourceLoader.getString( "global", "global", "close")); closeButton.setActionCommand("CLOSE"); //$NON-NLS-1$ closeButton.addActionListener(this); buttonPanel.add(closeButton); helpButton = new ButtonWithMnemonic(GlobalResourceLoader.getString( "global", "global", "help")); buttonPanel.add(helpButton); bottomPanel.add(buttonPanel, BorderLayout.EAST); return bottomPanel;
private JPanel createBottomPanel() { JPanel bottomPanel = new JPanel(new BorderLayout()); bottomPanel.setBorder(new SingleSideEtchedBorder(SwingConstants.TOP)); JPanel buttonPanel = new JPanel(new GridLayout(1, 3, 6, 0)); buttonPanel.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12)); closeButton = new ButtonWithMnemonic(MailResourceLoader.getString( "global", "close")); closeButton.setActionCommand("CLOSE"); //$NON-NLS-1$ closeButton.addActionListener(this); buttonPanel.add(closeButton); helpButton = new ButtonWithMnemonic(MailResourceLoader.getString( "global", "help")); buttonPanel.add(helpButton); bottomPanel.add(buttonPanel, BorderLayout.EAST); return bottomPanel;
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/export/ExportDialog.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
private JPanel createBottomPanel() {
1
private JPanel createBottomPanel() {
2
		JPanel bottomPanel = new JPanel(new BorderLayout());
2
		JPanel bottomPanel = new JPanel(new BorderLayout());
3
		bottomPanel.setBorder(new SingleSideEtchedBorder(SwingConstants.TOP));
3
		bottomPanel.setBorder(new SingleSideEtchedBorder(SwingConstants.TOP));
4
		JPanel buttonPanel = new JPanel(new GridLayout(1, 3, 6, 0));
4
		JPanel buttonPanel = new JPanel(new GridLayout(1, 3, 6, 0));
5
		buttonPanel.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12));
5
		buttonPanel.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12));
6
		closeButton = new ButtonWithMnemonic(GlobalResourceLoader.getString(
6
		closeButton = new ButtonWithMnemonic(MailResourceLoader.getString(
7
				"global", "global", "close"));
7
				"global", "close"));
8
		closeButton.setActionCommand("CLOSE"); //$NON-NLS-1$
8
		closeButton.setActionCommand("CLOSE"); //$NON-NLS-1$
9
		closeButton.addActionListener(this);
9
		closeButton.addActionListener(this);
10
		buttonPanel.add(closeButton);
10
		buttonPanel.add(closeButton);
11
		helpButton = new ButtonWithMnemonic(GlobalResourceLoader.getString(
11
		helpButton = new ButtonWithMnemonic(MailResourceLoader.getString(
12
				"global", "global", "help"));
12
				"global", "help"));
13
		buttonPanel.add(helpButton);
13
		buttonPanel.add(helpButton);
14
		bottomPanel.add(buttonPanel, BorderLayout.EAST);
14
		bottomPanel.add(buttonPanel, BorderLayout.EAST);
15
		return bottomPanel;
15
		return bottomPanel;
16
	
16
	
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