Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

ProductsDAO daoProduct = new ProductsDAO();
List<Products> productList = daoProduct.findAll();

 

 

 

 

this.comboBox.setContainerDataSource(Products.class, DAOs.get(ProductsDAO.class).findAll());
ProductsDAO daoProduct = new ProductsDAO();
List<Products> productList = daoProduct.findAll();

XdevBeanItemContainer<Products> productsContainer = new XdevBeanItemContainer<Products>(Products.class); 
productsContainer.addAll(productList);
  • No labels