@Override public void run() { System.out.println("bbbb"); try { List<TStore> list = tStoreService.findService(null); storeId.getModel().removeAllElements(); storeId.addElement(new JComboBoxPOJO("请选择……")); if (list != null && list.size() != 0) { int length = list.size(); for (int i = 0; i < length; ++i) { TStore tStore = list.get(i); storeId.addElement( new JComboBoxPOJO(tStore.getStoreID(), tStore.getStoreID(), tStore)); } } } catch (Exception e) { e.printStackTrace(); } }