public synchronized void addEntry(int cashpointNr,double price, int abgKunden, String productNames, String pricelist, int queuesize){
		BalanceEntry balanceEntry = null;
		if(getBalanceEntry(cashpointNr) != null){
			balanceEntry = getBalanceEntry(cashpointNr);
			balanceEntry.addPrice(price);
			balanceEntry.setAbKunden(abgKunden);
			balanceEntry.setProductNames2(productNames);
			balanceEntry.setPricelist(pricelist);
			balanceEntry.setQueuesize(queuesize);
		} else {
			balanceEntry = new BalanceEntry(cashpointNr,price,abgKunden,productNames,pricelist,queuesize);
			balances.add(balanceEntry);
		}
		Collections.sort(balances);
		
		Runnable changeUi = new Runnable() {
			
			@Override
			public void run() {
				while(tmodel.getRowCount() > 0){
					tmodel.removeRow(0);
				}
				Vector<String> balancVector;
				synchronized (Balance.this) {
				for (BalanceEntry balanceentry : balances) {
					balancVector = new Vector<>();
					balancVector.add(Integer.toString(balanceentry.getCashpointNr()));
					balancVector.add(Double.toString(balanceentry.getPrice()));
					balancVector.add(Integer.toString(balanceentry.getAbKunden()));
					balancVector.add(Integer.toString(balanceentry.getQueuesize()));
					balancVector.add(balanceentry.getProductNames2());
					balancVector.add(balanceentry.getPricelist());
					tmodel.addRow(balancVector);
				}
				}
			}
		};
		SwingUtilities.invokeLater(changeUi);
	}