@Override
	public void actionPerformed(ActionEvent e) {
		while (model.getRowCount() > 0) {
			model.removeRow(model.getRowCount() - 1);
		}
		CustomerService cs = new CustomerService();
		String ids = textField.getText();
		List<Customer> list = cs.findAll(ids);
		for (Customer c : list) {
			String[] dd = { "" + (model.getRowCount() + 1), c.getId(),
					c.getUsername(), c.getSex(), c.getTel(), "" + c.getAge(),
					c.getBrithday(), c.getAddress() };
			model.addRow(dd);
		}
		for (int i = 0; i < table.getColumnCount(); i++) {
			table.getColumn(table.getColumnName(i)).setCellRenderer(tcr);
		}
	}