// this method show all store name private void storeName() { ArrayList<String> storeNames = (ArrayList<String>) fieldName.getAllStoreName(); for (String name : storeNames) { comboBox1.addItem(name); } }