nameLabel = new JLabel(AddressbookResourceLoader.getString("dialog", "editgroupdialog", "name")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ nameTextField = new JTextField(); descriptionLabel = new JLabel(AddressbookResourceLoader.getString( "dialog", "editgroupdialog", "description_2")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ descriptionTextField = new JTextField(); addComboBox = new DefaultAddressComboBox(parentFolder.getId(), false); ((JTextComponent) addComboBox.getEditor().getEditorComponent()) .addKeyListener(this); members = new AddressbookListModel(); list = new AddressbookDNDListView(members); list.setMinimumSize(new Dimension(200, 300)); addButton = new JButton("Add"); //$NON-NLS-1$ addButton.addActionListener(this); addButton.setActionCommand("ADD"); //$NON-NLS-1$ removeButton = new JButton("Remove"); //$NON-NLS-1$ removeButton.addActionListener(this); removeButton.setActionCommand("REMOVE"); //$NON-NLS-1$ okButton = new ButtonWithMnemonic(AddressbookResourceLoader.getString( "global", "ok")); //$NON-NLS-1$ //$NON-NLS-2$ okButton.setActionCommand("OK"); //$NON-NLS-1$ okButton.addActionListener(this); cancelButton = new ButtonWithMnemonic(AddressbookResourceLoader .getString("global", "cancel")); //$NON-NLS-1$ //$NON-NLS-2$ cancelButton.setActionCommand("CANCEL"); //$NON-NLS-1$ cancelButton.addActionListener(this); getRootPane().setDefaultButton(okButton); getRootPane().registerKeyboardAction(this, "CANCEL", //$NON-NLS-1$ KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0), JComponent.WHEN_IN_FOCUSED_WINDOW);
intervalCheckingLabel = new LabelWithMnemonic(MailResourceLoader .getString("dialog", "account", "check_for_new_messages_every")); intervalCheckingSpinner = new JSpinner(new SpinnerNumberModel(5, 1, 100, 1)); intervalCheckingLabel.setLabelFor(intervalCheckingSpinner); intervalCheckingLabel2 = new JLabel(MailResourceLoader.getString( "dialog", "account", "minutes")); intervalCheckingCheckBox = new CheckBoxWithMnemonic(MailResourceLoader .getString("dialog", "account", "enable_interval_message_checking")); intervalCheckingCheckBox.setActionCommand("ENABLE"); intervalCheckingCheckBox.addActionListener(this); autodownloadCheckBox = new CheckBoxWithMnemonic(MailResourceLoader .getString("dialog", "account", IncomingItem.AUTOMATICALLY_DOWNLOAD_NEW_MESSAGES)); playsoundCheckBox = new CheckBoxWithMnemonic(MailResourceLoader .getString("dialog", "account", "play_sound_when_new_messages_arrive")); playsoundCheckBox.setActionCommand("PLAYSOUND"); playsoundCheckBox.addActionListener(this); ButtonGroup group = new ButtonGroup(); defaultRadioButton = new JRadioButton(MailResourceLoader.getString( "dialog", "account", "default_soundfile")); group.add(defaultRadioButton); chooseRadioButton = new JRadioButton(MailResourceLoader.getString( "dialog", "account", "choose_soundfile")); group.add(chooseRadioButton); chooseButton = new JButton(".."); chooseButton.setActionCommand("CHOOSE"); chooseButton.addActionListener(this); if (item.isPopAccount()) { popPanel = new PopAttributPanel(item.getPopItem()); } else { imapPanel = new ImapAttributPanel(item.getImapItem()); }
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/dialog/group/EditGroupDialog.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/account/ReceiveOptionsPanel.java
Method name: void initComponents() Method name: void initComponents()
Number of AST nodes: 23 Number of AST nodes: 22
1
nameLabel = new JLabel(AddressbookResourceLoader
1
intervalCheckingLabel = new LabelWithMnemonic(MailResourceLoader
2
.getString("dialog",
2
				.getString("dialog",
3
				"editgroupdialog", "name")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
4
		nameTextField = new JTextField(
3
 "account", "check_for_new_messages_every"));
4
		intervalCheckingSpinner = new JSpinner(new SpinnerNumberModel(5, 1,
5
);
5
				100, 1));
6
		description
6
		intervalCheckingLabel.setLabelFor(intervalCheckingSpinner);
7
Label = new JLabel(AddressbookResourceLoader.getString(
7
		intervalCheckingLabel2 = new JLabel(MailResourceLoader.getString(
8
				"dialog", "editgroupdialog", "description_2")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
8
				"dialog", "
9
		descriptionTextField = new JTextField();
10
		addComboBox = new DefaultAddressComboBox(parentFolder.getId(), false
9
account", "minutes"));
10
		intervalCheckingCheckBox = new CheckBoxWithMnemonic(MailResourceLoader
11
				.getString("dialog", "account",
11
);
12
						"enable_interval_message_checking"));
12
		((JTextComponent) addComboBox.getEditor().getEditorComponent())
13
		intervalCheckingCheckBox.set
13
				.addKeyListener(this);
14
		members = new AddressbookListModel();
15
		list = new AddressbookDNDListView(members);
16
		list.setMinimumSize(new Dimension(200, 300));
17
		addButton = new JButton("Add"); //$NON-NLS-1$
18
		addButton.addActionListener(this
14
ActionCommand("ENABLE");
15
		intervalCheckingCheckBox.addActionListener(this);
16
		autodownloadCheckBox = new CheckBoxWithMnemonic(MailResourceLoader
17
				.getString("dialog", "account",
18
						IncomingItem.AUTOMATICALLY_DOWNLOAD_NEW_MESSAGES));
19
		playsoundCheckBox = new CheckBoxWithMnemonic(MailResourceLoader
20
				.getString("dialog", "account",
19
);
21
						"play_sound_when_new_messages_arrive"));
20
		addButton.setActionCommand("ADD"); //$NON-NLS-1$
22
		playsoundCheckBox.setActionCommand("
21
		removeButton = new JButton("Remove"); //$NON-NLS-1$
22
		removeButton
23
PLAYSOUND");
23
.addActionListener(this);
24
		playsoundCheckBox.addActionListener(this);
24
		removeButton.setActionCommand("REMOVE"); //$NON-NLS-1$
25
		
25
		ok
26
ButtonGroup group = new ButtonGroup();
26
Button = new ButtonWithMnemonic(AddressbookResourceLoader.getString(
27
		defaultRadioButton = new JRadioButton(MailResourceLoader.getString(
27
				"global", "ok")); //$NON-NLS-1$ //$NON-NLS-2$
28
				"
28
		okButton.setActionCommand("OK"); //$NON-NLS-1$
29
		okButton.addActionListener(this
29
dialog", "account", "default_soundfile"));
30
);
30
		group.add(defaultRadioButton);
31
		cancelButton = new ButtonWithMnemonic(AddressbookResourceLoader
31
		chooseRadioButton = new JRadioButton(MailResourceLoader
32
				.getString("global", "cancel")); //$NON-NLS-1$ //$NON-NLS-2$
32
.getString(
33
		cancelButton.setActionCommand("CANCEL"); //$NON-NLS-1$
34
		cancelButton.addActionListener(this);
35
		getRootPane().setDefaultButton(okButton);
36
		getRootPane().registerKeyboardAction(this, "CANCEL", //$NON-NLS-1$
37
				KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0),
38
				JComponent.WHEN_IN_FOCUSED_WINDOW);
33
				"dialog", "account", "choose_soundfile"));
34
		group.add(chooseRadioButton);
35
		chooseButton = new JButton("..");
36
		chooseButton.setActionCommand("CHOOSE");
37
		chooseButton.addActionListener(this);
38
		if (item.isPopAccount()) {
39
			popPanel = new PopAttributPanel(item.getPopItem());
40
		} else {
41
			imapPanel = new ImapAttributPanel(item.getImapItem());
42
		}
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes having the same super class
Number of node comparisons227
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements16
    Number of unmapped statements in the first code fragment7
    Number of unmapped statements in the second code fragment3
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    1
    nameLabel = new JLabel(AddressbookResourceLoader.getString("dialog", "editgroupdialog", "name"));
    1
    nameLabel = new JLabel(AddressbookResourceLoader.getString("dialog", "editgroupdialog", "name"));
    17
    chooseButton = new JButton("..");
    Differences
    Expression1Expression2Difference
    nameLabelchooseButtonVARIABLE_NAME_MISMATCH
    javax.swing.JLabeljavax.swing.JButtonSUBCLASS_TYPE_MISMATCH
    javax.swing.JLabeljavax.swing.JButtonSUBCLASS_TYPE_MISMATCH
    AddressbookResourceLoader.getString("dialog","editgroupdialog","name")".."TYPE_COMPATIBLE_REPLACEMENT
    Preondition Violations
    Expression nameLabel is a field being modified, and thus it cannot be parameterized
    Expression chooseButton is a field being modified, and thus it cannot be parameterized
    17
    chooseButton = new JButton("..");
    2
    nameTextField = new JTextField();
    2
    nameTextField = new JTextField();
    2
    intervalCheckingSpinner = new JSpinner(new SpinnerNumberModel(5, 1, 100, 1));
    Differences
    Expression1Expression2Difference
    nameTextFieldintervalCheckingSpinnerVARIABLE_NAME_MISMATCH
    javax.swing.JTextFieldjavax.swing.JSpinnerSUBCLASS_TYPE_MISMATCH
    javax.swing.JTextFieldjavax.swing.JSpinnerSUBCLASS_TYPE_MISMATCH
    new JTextField()new JSpinner(new SpinnerNumberModel(5,1,100,1))ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression nameTextField is a field being modified, and thus it cannot be parameterized
    Expression intervalCheckingSpinner is a field being modified, and thus it cannot be parameterized
    2
    intervalCheckingSpinner = new JSpinner(new SpinnerNumberModel(5, 1, 100, 1));
    3
    descriptionLabel = new JLabel(AddressbookResourceLoader.getString("dialog", "editgroupdialog", "description_2"));
    3
    descriptionLabel = new JLabel(AddressbookResourceLoader.getString("dialog", "editgroupdialog", "description_2"));
    4
    intervalCheckingLabel2 = new JLabel(MailResourceLoader.getString("dialog", "account", "minutes"));
    Differences
    Expression1Expression2Difference
    descriptionLabelintervalCheckingLabel2VARIABLE_NAME_MISMATCH
    "editgroupdialog""account"LITERAL_VALUE_MISMATCH
    "description_2""minutes"LITERAL_VALUE_MISMATCH
    org.columba.addressbook.util.AddressbookResourceLoaderorg.columba.mail.util.MailResourceLoaderSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression descriptionLabel is a field being modified, and thus it cannot be parameterized
    Expression intervalCheckingLabel2 is a field being modified, and thus it cannot be parameterized
    4
    intervalCheckingLabel2 = new JLabel(MailResourceLoader.getString("dialog", "account", "minutes"));
                                                                                    
    12
    ButtonGroup group = new ButtonGroup();
    4
    descriptionTextField = new JTextField();
    4
    descriptionTextField = new JTextField();
    13
    defaultRadioButton = new JRadioButton(MailResourceLoader.getString("dialog", "account", "default_soundfile"));
    Differences
    Expression1Expression2Difference
    descriptionTextFielddefaultRadioButtonVARIABLE_NAME_MISMATCH
    javax.swing.JTextFieldjavax.swing.JRadioButtonSUBCLASS_TYPE_MISMATCH
    javax.swing.JTextFieldjavax.swing.JRadioButtonSUBCLASS_TYPE_MISMATCH
    new JTextField()new JRadioButton(MailResourceLoader.getString("dialog","account","default_soundfile"))ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression descriptionTextField is a field being modified, and thus it cannot be parameterized
    Expression defaultRadioButton is a field being modified, and thus it cannot be parameterized
    13
    defaultRadioButton = new JRadioButton(MailResourceLoader.getString("dialog", "account", "default_soundfile"));
    5
    addComboBox = new DefaultAddressComboBox(parentFolder.getId(), false);
    5
    addComboBox = new DefaultAddressComboBox(parentFolder.getId(), false);
    15
    chooseRadioButton = new JRadioButton(MailResourceLoader.getString("dialog", "account", "choose_soundfile"));
    Differences
    Expression1Expression2Difference
    addComboBoxchooseRadioButtonVARIABLE_NAME_MISMATCH
    org.columba.addressbook.gui.autocomplete.DefaultAddressComboBoxjavax.swing.JRadioButtonSUBCLASS_TYPE_MISMATCH
    org.columba.addressbook.gui.autocomplete.DefaultAddressComboBoxjavax.swing.JRadioButtonSUBCLASS_TYPE_MISMATCH
    new DefaultAddressComboBox(parentFolder.getId(),false)new JRadioButton(MailResourceLoader.getString("dialog","account","choose_soundfile"))ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression addComboBox is a field being modified, and thus it cannot be parameterized
    Expression chooseRadioButton is a field being modified, and thus it cannot be parameterized
    15
    chooseRadioButton = new JRadioButton(MailResourceLoader.getString("dialog", "account", "choose_soundfile"));
    6
    ((JTextComponent)addComboBox.getEditor().getEditorComponent()).addKeyListener(this);
                                                                                                                                                                                  
    7
    members = new AddressbookListModel();
                                                                                
    8
    list = new AddressbookDNDListView(members);
                                                                                            
    9
    list.setMinimumSize(new Dimension(200, 300));
                                                                                                  
    10
    addButton = new JButton("Add");
    10
    addButton = new JButton("Add");
    9
    playsoundCheckBox = new CheckBoxWithMnemonic(MailResourceLoader.getString("dialog", "account", "play_sound_when_new_messages_arrive"));
    Differences
    Expression1Expression2Difference
    addButtonplaysoundCheckBoxVARIABLE_NAME_MISMATCH
    javax.swing.JButtonjavax.swing.JCheckBoxSUBCLASS_TYPE_MISMATCH
    javax.swing.JButtonorg.columba.core.gui.base.CheckBoxWithMnemonicSUBCLASS_TYPE_MISMATCH
    "Add"MailResourceLoader.getString("dialog","account","play_sound_when_new_messages_arrive")TYPE_COMPATIBLE_REPLACEMENT
    Preondition Violations
    Expression addButton is a field being modified, and thus it cannot be parameterized
    Expression playsoundCheckBox is a field being modified, and thus it cannot be parameterized
    9
    playsoundCheckBox = new CheckBoxWithMnemonic(MailResourceLoader.getString("dialog", "account", "play_sound_when_new_messages_arrive"));
    11
    addButton.addActionListener(this);
    11
    addButton.addActionListener(this);
    11
    playsoundCheckBox.addActionListener(this);
    Differences
    Expression1Expression2Difference
    addButtonplaysoundCheckBoxVARIABLE_NAME_MISMATCH
    javax.swing.JButtonjavax.swing.JCheckBoxSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression addButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression playsoundCheckBox cannot be parameterized, because it has dependencies to/from statements that will be extracted
    11
    playsoundCheckBox.addActionListener(this);
    12
    addButton.setActionCommand("ADD");
    12
    addButton.setActionCommand("ADD");
    10
    playsoundCheckBox.setActionCommand("PLAYSOUND");
    Differences
    Expression1Expression2Difference
    "ADD""PLAYSOUND"LITERAL_VALUE_MISMATCH
    addButtonplaysoundCheckBoxVARIABLE_NAME_MISMATCH
    javax.swing.JButtonjavax.swing.JCheckBoxSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression addButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression playsoundCheckBox cannot be parameterized, because it has dependencies to/from statements that will be extracted
    10
    playsoundCheckBox.setActionCommand("PLAYSOUND");
    13
    removeButton = new JButton("Remove");
    13
    removeButton = new JButton("Remove");
    8
    autodownloadCheckBox = new CheckBoxWithMnemonic(MailResourceLoader.getString("dialog", "account", IncomingItem.AUTOMATICALLY_DOWNLOAD_NEW_MESSAGES));
    Differences
    Expression1Expression2Difference
    removeButtonautodownloadCheckBoxVARIABLE_NAME_MISMATCH
    javax.swing.JButtonjavax.swing.JCheckBoxSUBCLASS_TYPE_MISMATCH
    javax.swing.JButtonorg.columba.core.gui.base.CheckBoxWithMnemonicSUBCLASS_TYPE_MISMATCH
    "Remove"MailResourceLoader.getString("dialog","account",IncomingItem.AUTOMATICALLY_DOWNLOAD_NEW_MESSAGES)TYPE_COMPATIBLE_REPLACEMENT
    Preondition Violations
    Expression removeButton is a field being modified, and thus it cannot be parameterized
    Expression autodownloadCheckBox is a field being modified, and thus it cannot be parameterized
    8
    autodownloadCheckBox = new CheckBoxWithMnemonic(MailResourceLoader.getString("dialog", "account", IncomingItem.AUTOMATICALLY_DOWNLOAD_NEW_MESSAGES));
    14
    removeButton.addActionListener(this);
    14
    removeButton.addActionListener(this);
    19
    chooseButton.addActionListener(this);
    Differences
    Expression1Expression2Difference
    removeButtonchooseButtonVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression removeButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression chooseButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    19
    chooseButton.addActionListener(this);
    15
    removeButton.setActionCommand("REMOVE");
    15
    removeButton.setActionCommand("REMOVE");
    18
    chooseButton.setActionCommand("CHOOSE");
    Differences
    Expression1Expression2Difference
    "REMOVE""CHOOSE"LITERAL_VALUE_MISMATCH
    removeButtonchooseButtonVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression removeButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression chooseButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    18
    chooseButton.setActionCommand("CHOOSE");
    16
    okButton = new ButtonWithMnemonic(AddressbookResourceLoader.getString("global", "ok"));
    16
    okButton = new ButtonWithMnemonic(AddressbookResourceLoader.getString("global", "ok"));
    5
    intervalCheckingCheckBox = new CheckBoxWithMnemonic(MailResourceLoader.getString("dialog", "account", "enable_interval_message_checking"));
    Differences
    Expression1Expression2Difference
    okButtonintervalCheckingCheckBoxVARIABLE_NAME_MISMATCH
    org.columba.core.gui.base.ButtonWithMnemonicjavax.swing.JCheckBoxSUBCLASS_TYPE_MISMATCH
    org.columba.core.gui.base.ButtonWithMnemonicorg.columba.core.gui.base.CheckBoxWithMnemonicSUBCLASS_TYPE_MISMATCH
    org.columba.addressbook.util.AddressbookResourceLoaderorg.columba.mail.util.MailResourceLoaderSUBCLASS_TYPE_MISMATCH
    AddressbookResourceLoader.getString("global","ok")MailResourceLoader.getString("dialog","account","enable_interval_message_checking")ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression okButton is a field being modified, and thus it cannot be parameterized
    Expression intervalCheckingCheckBox is a field being modified, and thus it cannot be parameterized
    5
    intervalCheckingCheckBox = new CheckBoxWithMnemonic(MailResourceLoader.getString("dialog", "account", "enable_interval_message_checking"));
    17
    okButton.setActionCommand("OK");
    17
    okButton.setActionCommand("OK");
    6
    intervalCheckingCheckBox.setActionCommand("ENABLE");
    Differences
    Expression1Expression2Difference
    "OK""ENABLE"LITERAL_VALUE_MISMATCH
    okButtonintervalCheckingCheckBoxVARIABLE_NAME_MISMATCH
    org.columba.core.gui.base.ButtonWithMnemonicjavax.swing.JCheckBoxSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression okButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression intervalCheckingCheckBox cannot be parameterized, because it has dependencies to/from statements that will be extracted
    6
    intervalCheckingCheckBox.setActionCommand("ENABLE");
    18
    okButton.addActionListener(this);
    18
    okButton.addActionListener(this);
    7
    intervalCheckingCheckBox.addActionListener(this);
    Differences
    Expression1Expression2Difference
    okButtonintervalCheckingCheckBoxVARIABLE_NAME_MISMATCH
    org.columba.core.gui.base.ButtonWithMnemonicjavax.swing.JCheckBoxSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression okButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression intervalCheckingCheckBox cannot be parameterized, because it has dependencies to/from statements that will be extracted
    7
    intervalCheckingCheckBox.addActionListener(this);
    19
    cancelButton = new ButtonWithMnemonic(AddressbookResourceLoader.getString("global", "cancel"));
    19
    cancelButton = new ButtonWithMnemonic(AddressbookResourceLoader.getString("global", "cancel"));
    1
    intervalCheckingLabel = new LabelWithMnemonic(MailResourceLoader.getString("dialog", "account", "check_for_new_messages_every"));
    Differences
    Expression1Expression2Difference
    cancelButtonintervalCheckingLabelVARIABLE_NAME_MISMATCH
    org.columba.core.gui.base.ButtonWithMnemonicjavax.swing.JLabelSUBCLASS_TYPE_MISMATCH
    org.columba.core.gui.base.ButtonWithMnemonicorg.columba.core.gui.base.LabelWithMnemonicSUBCLASS_TYPE_MISMATCH
    org.columba.addressbook.util.AddressbookResourceLoaderorg.columba.mail.util.MailResourceLoaderSUBCLASS_TYPE_MISMATCH
    AddressbookResourceLoader.getString("global","cancel")MailResourceLoader.getString("dialog","account","check_for_new_messages_every")ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression cancelButton is a field being modified, and thus it cannot be parameterized
    Expression intervalCheckingLabel is a field being modified, and thus it cannot be parameterized
    1
    intervalCheckingLabel = new LabelWithMnemonic(MailResourceLoader.getString("dialog", "account", "check_for_new_messages_every"));
    20
    cancelButton.setActionCommand("CANCEL");
                                                                                            
    21
    cancelButton.addActionListener(this);
    21
    cancelButton.addActionListener(this);
    3
    intervalCheckingLabel.setLabelFor(intervalCheckingSpinner);
    Differences
    Expression1Expression2Difference
    addActionListenersetLabelForMETHOD_INVOCATION_NAME_MISMATCH
    thisintervalCheckingSpinnerTYPE_COMPATIBLE_REPLACEMENT
    cancelButtonintervalCheckingLabelVARIABLE_NAME_MISMATCH
    org.columba.core.gui.base.ButtonWithMnemonicjavax.swing.JLabelSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression cancelButton.addActionListener(this) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression intervalCheckingLabel.setLabelFor(intervalCheckingSpinner) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression cancelButton.addActionListener(this) is a void method call, and thus it cannot be parameterized
    Expression intervalCheckingLabel.setLabelFor(intervalCheckingSpinner) is a void method call, and thus it cannot be parameterized
    Expression intervalCheckingSpinner cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression cancelButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression intervalCheckingLabel cannot be parameterized, because it has dependencies to/from statements that will be extracted
    3
    intervalCheckingLabel.setLabelFor(intervalCheckingSpinner);
                                                                        
    14
    group.add(defaultRadioButton);
                                                                      
    16
    group.add(chooseRadioButton);
    22
    getRootPane().setDefaultButton(okButton);
                                                                                              
    23
    getRootPane().registerKeyboardAction(this, "CANCEL", KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0), JComponent.WHEN_IN_FOCUSED_WINDOW);
                                                                                                                                                                                                                                                                                  
    Precondition Violations (37)
    Row Violation
    1Expression nameLabel is a field being modified, and thus it cannot be parameterized
    2Expression chooseButton is a field being modified, and thus it cannot be parameterized
    3Expression nameTextField is a field being modified, and thus it cannot be parameterized
    4Expression intervalCheckingSpinner is a field being modified, and thus it cannot be parameterized
    5Expression descriptionLabel is a field being modified, and thus it cannot be parameterized
    6Expression intervalCheckingLabel2 is a field being modified, and thus it cannot be parameterized
    7Expression descriptionTextField is a field being modified, and thus it cannot be parameterized
    8Expression defaultRadioButton is a field being modified, and thus it cannot be parameterized
    9Expression addComboBox is a field being modified, and thus it cannot be parameterized
    10Expression chooseRadioButton is a field being modified, and thus it cannot be parameterized
    11Expression addButton is a field being modified, and thus it cannot be parameterized
    12Expression playsoundCheckBox is a field being modified, and thus it cannot be parameterized
    13Expression addButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    14Expression playsoundCheckBox cannot be parameterized, because it has dependencies to/from statements that will be extracted
    15Expression addButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    16Expression playsoundCheckBox cannot be parameterized, because it has dependencies to/from statements that will be extracted
    17Expression removeButton is a field being modified, and thus it cannot be parameterized
    18Expression autodownloadCheckBox is a field being modified, and thus it cannot be parameterized
    19Expression removeButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    20Expression chooseButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    21Expression removeButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    22Expression chooseButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    23Expression okButton is a field being modified, and thus it cannot be parameterized
    24Expression intervalCheckingCheckBox is a field being modified, and thus it cannot be parameterized
    25Expression okButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    26Expression intervalCheckingCheckBox cannot be parameterized, because it has dependencies to/from statements that will be extracted
    27Expression okButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    28Expression intervalCheckingCheckBox cannot be parameterized, because it has dependencies to/from statements that will be extracted
    29Expression cancelButton is a field being modified, and thus it cannot be parameterized
    30Expression intervalCheckingLabel is a field being modified, and thus it cannot be parameterized
    31Expression cancelButton.addActionListener(this) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    32Expression intervalCheckingLabel.setLabelFor(intervalCheckingSpinner) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    33Expression cancelButton.addActionListener(this) is a void method call, and thus it cannot be parameterized
    34Expression intervalCheckingLabel.setLabelFor(intervalCheckingSpinner) is a void method call, and thus it cannot be parameterized
    35Expression intervalCheckingSpinner cannot be parameterized, because it has dependencies to/from statements that will be extracted
    36Expression cancelButton cannot be parameterized, because it has dependencies to/from statements that will be extracted
    37Expression intervalCheckingLabel cannot be parameterized, because it has dependencies to/from statements that will be extracted