@Override
	public void actionPerformed(ActionEvent e) {
		while (model.getRowCount() > 0) {
			model.removeRow(model.getRowCount() - 1);
		}
		RechargeService cs = new RechargeService();
		String ids = textField.getText();
		List<Recharge> list = cs.findRechargesByCusId(ids);
		for (Recharge c : list) {
			String[] dd = { "" + (model.getRowCount() + 1),
					c.getCard().getCustomer().getId(), c.getCard().getCustomer().getUsername(),
					c.getMoney().toString(),c.getTime()};
			model.addRow(dd);
		}
		for (int i = 0; i < table.getColumnCount(); i++) {
			table.getColumn(table.getColumnName(i)).setCellRenderer(tcr);
		}
	}