public Item getItem(){
		Item item;
		if (originalItem==null)
		item=new Item();
		else item=originalItem;
		item.setName(nameTextField.getText());
		item.setDescription(descriptionTextField.getText());
		item.setPrice(Integer.parseInt(priceTextField.getText()));
		item.setQuantity(Integer.parseInt(quantityTextField.getText()));
		return item;
	}