public void updateStockInfo() {
		int usedStocks = 0;

		for (StorageUnit su : stock.getStorageUnits()) {
			if (su.getTrays().size() > 0) {
				usedStocks++;
			}
		}

		int percent = 100 - (usedStocks * 100 / Math
				.max(1, stock.getCapacity()));
		String stockInfo = "Name: " + stock.getName() + "<br>";
		stockInfo += "Remaining Space: " + percent + "%";

		lblName.setText("<html>" + stockInfo + "</html>");
	}