private void limpiar() {
   if (jftfFechaHasta.getValue() == null || jftfFechaDesde.getValue() == null) {
     this.jftfFechaDesde.setValue(validaciones.Validacion.fechaSistema("dd-MM-yyyy"));
     this.jftfFechaHasta.setValue(validaciones.Validacion.fechaSistema("dd-MM-yyyy"));
   }
   this.jtfProveedor.setText("");
   this.jtfBuscar.setText("");
   llenarAtributos();
   proveedorId = "¬";
   try {
     llenarjTable();
   } catch (java.rmi.RemoteException re) {
     javax.swing.JOptionPane.showMessageDialog(
         null, "Se perdio la conexion. Contacte con el administrador...");
   } catch (javax.ejb.EJBException eje) {
     javax.swing.JOptionPane.showMessageDialog(
         null, "Se perdio la conexion. Contacte con el administrador...");
   } catch (javax.naming.NameNotFoundException nnfe) {
     javax.swing.JOptionPane.showMessageDialog(
         null, "El programa servidor no esta listo. Intente mas tarde...");
   } catch (Exception e) {
     shrimp.helper.Excepciones.guardarExcepcionesAC(
         e, getClass().getName(), mDIShrimp.getSisInfoTO());
   }
   proveedorId = null;
 }
 // funcion para cargar los datos temporalmete
 private void guardarParametroAux() {
   fechaReporte = validaciones.Validacion.fechaSistema();
   fechaDesdeAux = jftfFechaDesde.getText().trim();
   fechaHastaAux = jftfFechaHasta.getText().trim();
   codigoCuentaDesdeAux = jtfCuentaDesde.getText().trim();
   codigoCuentaHastaAux = jtfCuentaHasta.getText().trim();
   codigoSectorAux = codigoSector;
 }
  /**
   * 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() {

    jPanel3 = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    jcboCP = new javax.swing.JComboBox();
    jLabel4 = new javax.swing.JLabel();
    jtfCuentaDesde = new javax.swing.JTextField();
    jLabel8 = new javax.swing.JLabel();
    jftfFechaDesde = new shrimp.validaciones.JFormattedTextFieldDate(false);
    jftfFechaHasta = new shrimp.validaciones.JFormattedTextFieldDate(false);
    jLabel9 = new javax.swing.JLabel();
    jlblNombreCuentaDesde = new javax.swing.JLabel();
    jLabel5 = new javax.swing.JLabel();
    jtfCuentaHasta = new javax.swing.JTextField();
    jlblNombreCuentaHasta = new javax.swing.JLabel();

    jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder("Filtrado"));
    jPanel3.setLayout(null);

    jLabel1.setFont(new java.awt.Font("DejaVu Sans", 0, 12)); // NOI18N
    jLabel1.setText("<html>Centro de Producción</html>");
    jPanel3.add(jLabel1);
    jLabel1.setBounds(10, 20, 140, 15);

    jcboCP.setFont(new java.awt.Font("Ubuntu", 0, 12)); // NOI18N
    jPanel3.add(jcboCP);
    jcboCP.setBounds(10, 34, 140, 20);

    jLabel4.setFont(new java.awt.Font("DejaVu Sans", 0, 12)); // NOI18N
    jLabel4.setText("Cuenta Desde");
    jPanel3.add(jLabel4);
    jLabel4.setBounds(250, 20, 100, 15);

    jtfCuentaDesde.setFont(new java.awt.Font("DejaVu Sans", 0, 12)); // NOI18N
    jPanel3.add(jtfCuentaDesde);
    jtfCuentaDesde.setBounds(250, 34, 110, 20);

    jLabel8.setFont(new java.awt.Font("DejaVu Sans", 0, 12)); // NOI18N
    jLabel8.setText("Desde");
    jPanel3.add(jLabel8);
    jLabel8.setBounds(160, 20, 80, 15);

    jftfFechaDesde.setValue(validaciones.Validacion.fechaSistema("dd-MM-yyyy"));
    jftfFechaDesde.setValue(
        validaciones.Validacion.fecha(
            validaciones.Validacion.getPrimerDiaDelMes(jftfFechaDesde.getText(), "dd-MM-yyyy"),
            "dd-MM-yyyy"));
    jftfFechaDesde.setFont(new java.awt.Font("DejaVu Sans", 0, 10)); // NOI18N
    jPanel3.add(jftfFechaDesde);
    jftfFechaDesde.setBounds(160, 34, 80, 20);

    jftfFechaHasta.setValue(validaciones.Validacion.fechaSistema("dd-MM-yyyy"));
    jftfFechaHasta.setValue(
        validaciones.Validacion.fecha(
            validaciones.Validacion.getUltimoDiaDelMes(jftfFechaHasta.getText(), "dd-MM-yyyy"),
            "dd-MM-yyyy"));
    jftfFechaHasta.setFont(new java.awt.Font("DejaVu Sans", 0, 10)); // NOI18N
    jPanel3.add(jftfFechaHasta);
    jftfFechaHasta.setBounds(160, 75, 80, 20);

    jLabel9.setFont(new java.awt.Font("DejaVu Sans", 0, 12)); // NOI18N
    jLabel9.setText("Hasta");
    jPanel3.add(jLabel9);
    jLabel9.setBounds(160, 60, 80, 15);

    jlblNombreCuentaDesde.setFont(new java.awt.Font("DejaVu Sans", 0, 12)); // NOI18N
    jlblNombreCuentaDesde.setBorder(
        new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.LOWERED));
    jPanel3.add(jlblNombreCuentaDesde);
    jlblNombreCuentaDesde.setBounds(360, 34, 150, 20);

    jLabel5.setFont(new java.awt.Font("DejaVu Sans", 0, 12)); // NOI18N
    jLabel5.setText("Cuenta Hasta");
    jPanel3.add(jLabel5);
    jLabel5.setBounds(250, 60, 100, 15);

    jtfCuentaHasta.setFont(new java.awt.Font("DejaVu Sans", 0, 12)); // NOI18N
    jPanel3.add(jtfCuentaHasta);
    jtfCuentaHasta.setBounds(250, 75, 110, 20);

    jlblNombreCuentaHasta.setFont(new java.awt.Font("DejaVu Sans", 0, 12)); // NOI18N
    jlblNombreCuentaHasta.setBorder(
        new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.LOWERED));
    jPanel3.add(jlblNombreCuentaHasta);
    jlblNombreCuentaHasta.setBounds(360, 75, 150, 20);

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
        layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                layout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addComponent(
                        jPanel3,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        520,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(307, Short.MAX_VALUE)));
    layout.setVerticalGroup(
        layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                layout
                    .createSequentialGroup()
                    .addComponent(
                        jPanel3,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        109,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 361, Short.MAX_VALUE)));

    pack();
  } // </editor-fold>//GEN-END:initComponents