| | | 1 | if (telephoneComboBox.getSelectedIndex() == 14)↵
|
1 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵ | | 2 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵
|
2 | PhoneModel.TYPE_BUSINESS_PHONE));↵ | | 3 | PhoneModel.TYPE_RADIO));↵
|
3 | else if (telephoneComboBox.getSelectedIndex() == 1)↵ | | 4 | else if (telephoneComboBox.getSelectedIndex() == 15)↵
|
4 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵ | | 5 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵
|
5 | PhoneModel.TYPE_ASSISTANT_PHONE));↵ | | 6 | PhoneModel.TYPE_TELEX));↵
|
6 | else if (telephoneComboBox.getSelectedIndex() == 2)↵ | | 7 | else if (telephoneComboBox.getSelectedIndex() == 16)↵
|
7 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵ | | 8 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵
|
8 | PhoneModel.TYPE_BUSINESS_FAX)); | | 9 | PhoneModel.TYPE_TTY));
|