|
|
|
|
@ -1,26 +1,30 @@
|
|
|
|
|
/*
|
|
|
|
|
* Importer.java
|
|
|
|
|
*
|
|
|
|
|
* Created on 7 de Abril de 2004, 10:56
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
package siprp.importer;
|
|
|
|
|
|
|
|
|
|
import com.evolute.utils.*;
|
|
|
|
|
import com.evolute.utils.arrays.*;
|
|
|
|
|
import com.evolute.utils.tables.*;
|
|
|
|
|
import com.evolute.utils.ui.*;
|
|
|
|
|
import java.awt.GridBagConstraints;
|
|
|
|
|
import java.awt.GridBagLayout;
|
|
|
|
|
import java.awt.Insets;
|
|
|
|
|
import java.awt.event.ActionEvent;
|
|
|
|
|
import java.awt.event.ActionListener;
|
|
|
|
|
import java.awt.event.MouseAdapter;
|
|
|
|
|
import java.awt.event.MouseEvent;
|
|
|
|
|
import java.util.Arrays;
|
|
|
|
|
import java.util.Hashtable;
|
|
|
|
|
import java.util.Vector;
|
|
|
|
|
|
|
|
|
|
import java.awt.*;
|
|
|
|
|
import java.awt.event.*;
|
|
|
|
|
import java.io.*;
|
|
|
|
|
import java.util.*;
|
|
|
|
|
import javax.swing.*;
|
|
|
|
|
import javax.swing.table.*;
|
|
|
|
|
import javax.swing.JButton;
|
|
|
|
|
import javax.swing.JFrame;
|
|
|
|
|
import javax.swing.JOptionPane;
|
|
|
|
|
import javax.swing.JPanel;
|
|
|
|
|
import javax.swing.JScrollPane;
|
|
|
|
|
import javax.swing.ListSelectionModel;
|
|
|
|
|
|
|
|
|
|
import jxl.*;
|
|
|
|
|
import siprp.SingletonConstants;
|
|
|
|
|
|
|
|
|
|
import siprp.*;
|
|
|
|
|
import com.evolute.utils.Singleton;
|
|
|
|
|
import com.evolute.utils.arrays.Excel2DArray;
|
|
|
|
|
import com.evolute.utils.tables.BaseTable;
|
|
|
|
|
import com.evolute.utils.tables.Virtual2DTableModel;
|
|
|
|
|
import com.evolute.utils.ui.CustomJDialog;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
@ -28,6 +32,8 @@ import siprp.*;
|
|
|
|
|
*/
|
|
|
|
|
public class Importer extends CustomJDialog
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
public static final int TYPE_ADMISSAO = 0;
|
|
|
|
|
public static final int TYPE_DEMISSAO = 1;
|
|
|
|
|
|
|
|
|
|
|