<commit_before>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * EDACCAddInstanceToInstanceClass.java
 *
 * Created on 22.03.2010, 17:22:57
 */

package edacc;

import edacc.manageDB.AddInstanceInstanceClassTabelModel;
import edacc.model.InstanceClass;
import edacc.model.InstanceClassDAO;
import edacc.model.NoConnectionToDBException;
import java.sql.SQLException;
import java.util.Vector;
import javax.swing.JOptionPane;

/**
 *
 * @author rretz
 */
public class EDACCAddInstanceToInstanceClass extends javax.swing.JDialog {
    InstanceClass input;
    /** Creates new form EDACCAddInstanceToInstanceClass */
    public EDACCAddInstanceToInstanceClass(java.awt.Frame parent, boolean modal) throws NoConnectionToDBException, SQLException {
        super(parent, modal);
        initComponents();
        //Initiate the instance source class table
        AddInstanceInstanceClassTabelModel sourceTableModel = new AddInstanceInstanceClassTabelModel();
        jTableSourceClass.setModel(sourceTableModel);
        sourceTableModel.addClasses(new Vector<InstanceClass>(InstanceClassDAO.getAllSourceClass()));

        //Initiate the instance source class table
        AddInstanceInstanceClassTabelModel userTableModel = new AddInstanceInstanceClassTabelModel();
        jTableUserClass.setModel(userTableModel);
        sourceTableModel.addClasses(new Vector<InstanceClass>(InstanceClassDAO.getAllUserClass()));
    }
<commit_msg>feature request: Instance class: changing and adding other Instance class2<commit_after>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * EDACCAddInstanceToInstanceClass.java
 *
 * Created on 22.03.2010, 17:22:57
 */

package edacc;

import edacc.manageDB.AddInstanceInstanceClassTabelModel;
import edacc.model.InstanceClass;
import edacc.model.InstanceClassDAO;
import edacc.model.NoConnectionToDBException;
import java.sql.SQLException;
import java.util.Vector;
import javax.swing.JOptionPane;

/**
 *
 * @author rretz
 */
public class EDACCAddInstanceToInstanceClass extends javax.swing.JDialog {
    InstanceClass input;
    /** Creates new form EDACCAddInstanceToInstanceClass */
    public EDACCAddInstanceToInstanceClass(java.awt.Frame parent, boolean modal) throws NoConnectionToDBException, SQLException {
        super(parent, modal);
        initComponents();
        //Initiate the instance source class table
        AddInstanceInstanceClassTabelModel sourceTableModel = new AddInstanceInstanceClassTabelModel();
        jTableSourceClass.setModel(sourceTableModel);
        sourceTableModel.addClasses(new Vector<InstanceClass>(InstanceClassDAO.getAllSourceClass()));

        //Initiate the instance source class table
        AddInstanceInstanceClassTabelModel userTableModel = new AddInstanceInstanceClassTabelModel();
        jTableUserClass.setModel(userTableModel);
        userTableModel.addClasses(new Vector<InstanceClass>(InstanceClassDAO.getAllUserClass()));
    }

{'fraction_non_alphanumeric': 0.08039538714991763, 'fraction_numerical': 0.009555189456342669, 'mean_word_length': 4.793893129770993, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4034509', 'n_tokens_mistral': 823, 'n_tokens_neox': 808, 'n_words': 181}