public void setSearch(ArrayList<Product> p) {
		reset();
		
		if (p.size() > 0) {
			panel.setVisible(true);
			btnSil.setVisible(true);
			btnGuncelle.setVisible(true);
			Product p2 = p.get(0);
			textField_1.setText(p2.getpId() + "");
			textField_2.setText(p2.getpName());
			textField_3.setText(p2.getAmount() + "");
			textField_4.setText(p2.getPrice() + "");
			textArea.setText(p2.getpFeature());
		} else {
			hata.setText("Sonuç bulunamadı!");
			hata.setForeground(Color.red);
			btnrnEkle.setVisible(true);
		}
		
	}