<commit_before>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
import javax.swing.JButton;
import javax.swing.GroupLayout.Alignment;
import javax.swing.GroupLayout;
import javax.swing.LayoutStyle.ComponentPlacement;
import java.awt.Rectangle;
import javax.swing.JTextField;
import javax.swing.JLabel;

/**
 *
 * @author federico
 */
public class Window extends javax.swing.JFrame {
    int n; //variable encargada de guardar el numero de ecuaciones
    DefaultTableModel modelo = new DefaultTableModel(); //modelo de la tabla para ingresar las ecuaciones
    Boolean ban = false;
    
    public int getN(){ //Metodos para inicializar a n, y obtener su valor
        return n;
    }
    public void setN(int n){
        this.n = n;
    }
    
    
    /**
     * Creates new form LUPSOLVE
     */
    public Window() {
    	setResizable(false);
        initComponents();
        this.setLocationRelativeTo(null);
        
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jTextFieldNumeroDeEc = new javax.swing.JTextField();
        jButtonGenerar = new javax.swing.JButton();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTable = new javax.swing.JTable();
        jScrollPane2 = new javax.swing.JScrollPane();
        jTextArea = new javax.swing.JTextArea();
        jButtonLimpiar = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jLabel2 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("LUP - SOLVE");
        setBounds(new Rectangle(0, 0, 820, 480));

        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 1, true), "LUP - Solve"));
        jPanel1.setLayout(null);

        jLabel1.setText("N\u00FAmero de Ecuaciones:");
        jPanel1.add(jLabel1);
        jLabel1.setBounds(20, 24, 140, 30);
        jPanel1.add(jTextFieldNumeroDeEc);
        jTextFieldNumeroDeEc.setBounds(160, 20, 110, 30);

        jButtonGenerar.setText("Generar ecuaciones");
        jButtonGenerar.addActionListener(new java.awt.event.ActionListener() {<commit_msg>Adding ID and removing suppressings warnings<commit_after>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
import javax.swing.JButton;
import javax.swing.GroupLayout.Alignment;
import javax.swing.GroupLayout;
import javax.swing.LayoutStyle.ComponentPlacement;
import java.awt.Rectangle;
import javax.swing.JTextField;
import javax.swing.JLabel;

/**
 *
 * @author federico
 */
public class Window extends javax.swing.JFrame {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	int n; //variable encargada de guardar el numero de ecuaciones
    DefaultTableModel modelo = new DefaultTableModel(); //modelo de la tabla para ingresar las ecuaciones
    Boolean ban = false;
    
    public int getN(){ //Metodos para inicializar a n, y obtener su valor
        return n;
    }
    public void setN(int n){
        this.n = n;
    }
    
    
    /**
     * Creates new form LUPSOLVE
     */
    public Window() {
    	setResizable(false);
        initComponents();
        this.setLocationRelativeTo(null);
        
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jTextFieldNumeroDeEc = new javax.swing.JTextField();
        jButtonGenerar = new javax.swing.JButton();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTable = new javax.swing.JTable();
        jScrollPane2 = new javax.swing.JScrollPane();
        jTextArea = new javax.swing.JTextArea();
        jButtonLimpiar = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jLabel2 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("LUP - SOLVE");
        setBounds(new Rectangle(0, 0, 820, 480));

        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 1, true), "LUP - Solve"));
        jPanel1.setLayout(null);

        jLabel1.setText("N\u00FAmero de Ecuaciones:");
        jPanel1.add(jLabel1);
        jLabel1.setBounds(20, 24, 140, 30);
        jPanel1.add(jTextFieldNumeroDeEc);
        jTextFieldNumeroDeEc.setBounds(160, 20, 110, 30);

        jButtonGenerar.setText("Generar ecuaciones");
        jButtonGenerar.addActionListener(new java.awt.event.ActionListener() {
{'fraction_non_alphanumeric': 0.10547703180212015, 'fraction_numerical': 0.016431095406360424, 'mean_word_length': 3.000706713780919, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5658231', 'n_tokens_mistral': 1747, 'n_tokens_neox': 1675, 'n_words': 434}