products.clear();
pItem = Persisted_Item.getInstance();
Iterator<Item> iterator = pItem.getAllItems().iterator();
while (iterator.hasNext()) {
Item item = iterator.next();
products.add(new product(item.getId(), item.getPrice(), item
.getDescription(), item.getLocation()));
}
product[] prod = new product[products.size()];
int i = 0;
for (product p : products) {