private JComboBox getJComboBoxCusCur() { if (jComboBoxCusCur == null) { cusCurs = CodeController.getCodeDetails(CodeEnum.CURRENCY.getType()); // CustomerCurrency jComboBoxCusCurModel = new DefaultComboBoxModel(cusCurs.keySet().toArray()); jComboBoxCusCur = new JComboBox(); jComboBoxCusCur.setModel(jComboBoxCusCurModel); } return jComboBoxCusCur; }
private JComboBox getJComboBoxCusLang() { if (jComboBoxCusLang == null) { cusLangs = CodeController.getCodeDetails(CodeEnum.LANGUAGE.getType()); // CustomerLanguage jComboBoxCusLangModel = new DefaultComboBoxModel(cusLangs.keySet().toArray()); jComboBoxCusLang = new JComboBox(); jComboBoxCusLang.setModel(jComboBoxCusLangModel); } return jComboBoxCusLang; }
private JComboBox getJComboBoxCusType() { if (jComboBoxCusType == null) { cusTypes = CodeController.getCodeDetails(CodeEnum.CUSTOMER_TYPE.getType()); // CustomerType jComboBoxCusTypeModel = new DefaultComboBoxModel(cusTypes.keySet().toArray()); jComboBoxCusType = new JComboBox(); jComboBoxCusType.setModel(jComboBoxCusTypeModel); } return jComboBoxCusType; }
private JComboBox getJComboBoxCusPay() { if (jComboBoxCusPay == null) { cusPays = CodeController.getCodeDetails(CodeEnum.PAYMENT.getType()); // PaymentConditions jComboBoxCusPayModel = new DefaultComboBoxModel(cusPays.keySet().toArray()); jComboBoxCusPay = new JComboBox(); jComboBoxCusPay.setModel(jComboBoxCusPayModel); } return jComboBoxCusPay; }
private JComboBox getJComboBoxCusCat() { if (jComboBoxCusCat == null) { cusCats = CodeController.getCodeDetails(CodeEnum.CUSTOMER_CATEGORY.getType()); // CustomerCategory jComboBoxCusCatModel = new DefaultComboBoxModel(cusCats.keySet().toArray()); jComboBoxCusCat = new JComboBox(); jComboBoxCusCat.setModel(jComboBoxCusCatModel); } return jComboBoxCusCat; }