<commit_before>package view;

import java.awt.Color;

import javax.swing.BoxLayout;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;

import model.entity.Product;

public class PanelAddProducts extends JPanel {

	private static final long serialVersionUID = 1L;
	
	public PanelAddProducts(Product product) {
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
		setBackground(Color.WHITE);
		
		JLabel lblImageProduct = new JLabel();
		lblImageProduct.setIcon(new ImageIcon(product.getImg()));
		add(lblImageProduct);
		
		JLabel lblPrice = new JLabel("$"+product.getPrice());
		add(lblPrice);
		
		JLabel lblName = new JLabel(product.getName());
		add(lblName);
		
		JButton btnEdit = new JButton("Edit");
		btnEdit.setToolTipText("Reserve element");
		btnEdit.setName(String.valueOf(product.getId()));
		add(btnEdit);
	}
}<commit_msg>arreglos<commit_after>package view;

import java.awt.Color;

import javax.swing.BorderFactory;
import javax.swing.BoxLayout;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;

import model.entity.Product;

public class PanelAddProducts extends JPanel {

	private static final long serialVersionUID = 1L;
	
	public PanelAddProducts(Product product) {
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
		setBackground(Color.WHITE);
		setBorder(BorderFactory.createLineBorder(Color.ORANGE));
		
		JLabel lblImageProduct = new JLabel();
		lblImageProduct.setIcon(new ImageIcon(product.getImg()));
		add(lblImageProduct);
		
		JLabel lblPrice = new JLabel("$"+product.getPrice());
		add(lblPrice);
		
		JLabel lblName = new JLabel(product.getName());
		add(lblName);
		
		JButton btnEdit = new JButton("Edit");
		btnEdit.setToolTipText("Reserve element");
		btnEdit.setName(String.valueOf(product.getId()));
//		add(btnEdit);
	}
}
{'fraction_non_alphanumeric': 0.12182203389830508, 'fraction_numerical': 0.001059322033898305, 'mean_word_length': 5.5137931034482754, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6431785', 'n_tokens_mistral': 658, 'n_tokens_neox': 603, 'n_words': 121}