1 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵ | | 1 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵
|
2 | PhoneModel.TYPE_HOME_FAX));↵ | | 2 | PhoneModel.TYPE_OTHER_PHONE));↵
|
3 | else if (telephoneComboBox.getSelectedIndex() == 8)↵ | | 3 | else if (telephoneComboBox.getSelectedIndex() == 11)↵
|
4 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵ | | 4 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵
|
5 | PhoneModel.TYPE_ISDN));↵ | | 5 | PhoneModel.TYPE_OTHER_FAX));↵
|
6 | else if (telephoneComboBox.getSelectedIndex() == 9)↵ | | 6 | else if (telephoneComboBox.getSelectedIndex() == 12)↵
|
7 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵ | | 7 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵
|
8 | PhoneModel.TYPE_MOBILE_PHONE));↵ | | 8 | PhoneModel.TYPE_PAGER));↵
|
9 | else if (telephoneComboBox.getSelectedIndex() == 10)↵ | | 9 | else if (telephoneComboBox.getSelectedIndex() == 13)↵
|
10 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵ | | 10 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵
|
11 | PhoneModel.TYPE_OTHER_PHONE));↵ | | 11 | PhoneModel.TYPE_PRIMARY_PHONE));↵
|
12 | else if (telephoneComboBox.getSelectedIndex() == 11)↵ | | 12 | else if (telephoneComboBox.getSelectedIndex() == 14)↵
|
13 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵ | | 13 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵
|
14 | PhoneModel.TYPE_OTHER_FAX)); | | 14 | PhoneModel.TYPE_RADIO));
|