gt:         JLabel lbl2 = new JLabel("Max:");
context: /*
   * To change this template, choose Tools | Templates
   * and open the template in the editor.
   */
  
  /*
   * JDParametros.java
   *
   * Created on 12/07/2014, 13:54:52
   */
  package zilleprojects.form;
  
  import Modelo.EntidadAbstracta;
  import Modelo.Parametro;
  import Modelo.ParametrosSistema;
  import Modelo.VacacionesRango;
  import Utils.ArrayParametro;
  import Vista.PanelAzul;
  import java.awt.Component;
  import java.awt.Dimension;
  import javax.swing.BoxLayout;
  import javax.swing.JLabel;
  import javax.swing.JPanel;
  import javax.swing.JSpinner;
  import javax.swing.JTextField;
  
  /**
   *
   * @author m4tuu
   */
  public class JDParametros extends javax.swing.JDialog {
  
      /** Creates new form JDParametros */
      public JDParametros(java.awt.Frame parent, boolean modal) {
          super(parent, modal);
          initComponents();
          CargarTalles();
          CargarVacaciones();
      }
  
      /** 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 PanelAzul();
          jLabel1 = new javax.swing.JLabel();
          jSpinner1 = new javax.swing.JSpinner();
          jLabel2 = new javax.swing.JLabel();
          jPanel2 = new javax.swing.JPanel();
          jScrollPane1 = new javax.swing.JScrollPane();
          jPanel7 = new javax.swing.JPanel();
          jPanel3 = new javax.swing.JPanel();
          jScrollPane2 = new javax.swing.JScrollPane();
          jPanel6 = new javax.swing.JPanel();
          jPanel4 = new javax.swing.JPanel();
          jLabel3 = new javax.swing.JLabel();
          txtTalleClave = new javax.swing.JTextField();
          txtTalleValor = new javax.swing.JTextField();
          btnAddTalle = new javax.swing.JButton();
          jPanel5 = new javax.swing.JPanel();
          jLabel5 = new javax.swing.JLabel();
          pinMin = new javax.swing.JSpinner();
          jLabel6 = new javax.swing.JLabel();
          pinMax = new javax.swing.JSpinner();
          jLabel7 = new javax.swing.JLabel();
          pinCant = new javax.swing.JSpinner();
          btnAddVacaciones = new javax.swing.JButton();
  
          setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
          setName("Form"); // NOI18N
  
          jPanel1.setName("jPanel1"); // NOI18N
  
          org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(zilleprojects.ZilleProjectsApp.class).getContext().getResourceMap(JDParametros.class);
          jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
          jLabel1.setName("jLabel1"); // NOI18N
  
          jSpinner1.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(20), Integer.valueOf(0), null, Integer.valueOf(1)));
          jSpinner1.setName("jSpinner1"); // NOI18N
  
          jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N
          jLabel2.setName("jLabel2"); // NOI18N
  
          jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(resourceMap.getString("jPanel2.border.title"))); // NOI18N
          jPanel2.setName("jPanel2"); // NOI18N
          jPanel2.setOpaque(false);
          jPanel2.setPreferredSize(new java.awt.Dimension(250, 100));
          jPanel2.setRequestFocusEnabled(false);
  
          jScrollPane1.setMaximumSize(new java.awt.Dimension(355, 166));
          jScrollPane1.setMinimumSize(new java.awt.Dimension(355, 166));
          jScrollPane1.setName("jScrollPane1"); // NOI18N
          jScrollPane1.setOpaque(false);
          jScrollPane1.setPreferredSize(new java.awt.Dimension(355, 166));
  
          jPanel7.setName("jPanel7"); // NOI18N
  
          javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
          jPanel7.setLayout(jPanel7Layout);
          jPanel7Layout.setHorizontalGroup(
              jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGap(0, 328, Short.MAX_VALUE)
          );
          jPanel7Layout.setVerticalGroup(
              jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGap(0, 151, Short.MAX_VALUE)
          );
  
          jScrollPane1.setViewportView(jPanel7);
  
          javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
          jPanel2.setLayout(jPanel2Layout);
          jPanel2Layout.setHorizontalGroup(
              jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel2Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 331, Short.MAX_VALUE)
                  .addContainerGap())
          );
          jPanel2Layout.setVerticalGroup(
              jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel2Layout.createSequentialGroup()
                  .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 154, Short.MAX_VALUE)
                  .addContainerGap())
          );
  
          jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder(resourceMap.getString("jPanel3.border.title"))); // NOI18N
          jPanel3.setName("jPanel3"); // NOI18N
          jPanel3.setOpaque(false);
          jPanel3.setPreferredSize(new java.awt.Dimension(259, 100));
          jPanel3.setRequestFocusEnabled(false);
  
          jScrollPane2.setMaximumSize(new java.awt.Dimension(355, 166));
          jScrollPane2.setMinimumSize(new java.awt.Dimension(355, 166));
          jScrollPane2.setName("jScrollPane2"); // NOI18N
          jScrollPane2.setOpaque(false);
          jScrollPane2.setPreferredSize(new java.awt.Dimension(355, 166));
  
          jPanel6.setName("jPanel6"); // NOI18N
  
          javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
          jPanel6.setLayout(jPanel6Layout);
          jPanel6Layout.setHorizontalGroup(
              jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGap(0, 354, Short.MAX_VALUE)
          );
          jPanel6Layout.setVerticalGroup(
              jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGap(0, 151, Short.MAX_VALUE)
          );
  
          jScrollPane2.setViewportView(jPanel6);
  
          javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
          jPanel3.setLayout(jPanel3Layout);
          jPanel3Layout.setHorizontalGroup(
              jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel3Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 357, Short.MAX_VALUE)
                  .addContainerGap())
          );
          jPanel3Layout.setVerticalGroup(
              jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel3Layout.createSequentialGroup()
                  .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 154, Short.MAX_VALUE)
                  .addContainerGap())
          );
  
          jPanel4.setName("jPanel4"); // NOI18N
          jPanel4.setOpaque(false);
  
          jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N
          jLabel3.setName("jLabel3"); // NOI18N
  
          txtTalleClave.setText(resourceMap.getString("txtTalleClave.text")); // NOI18N
          txtTalleClave.setName("txtTalleClave"); // NOI18N
  
          txtTalleValor.setText(resourceMap.getString("txtTalleValor.text")); // NOI18N
          txtTalleValor.setName("txtTalleValor"); // NOI18N
  
          btnAddTalle.setText(resourceMap.getString("btnAddTalle.text")); // NOI18N
          btnAddTalle.setName("btnAddTalle"); // NOI18N
          btnAddTalle.addActionListener(new java.awt.event.ActionListener() {
              public void actionPerformed(java.awt.event.ActionEvent evt) {
                  btnAddTalleActionPerformed(evt);
              }
          });
  
          javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
          jPanel4.setLayout(jPanel4Layout);
          jPanel4Layout.setHorizontalGroup(
              jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel4Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(jLabel3)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(txtTalleClave, javax.swing.GroupLayout.PREFERRED_SIZE, 84, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(txtTalleValor, javax.swing.GroupLayout.PREFERRED_SIZE, 104, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(btnAddTalle, javax.swing.GroupLayout.DEFAULT_SIZE, 44, Short.MAX_VALUE)
                  .addContainerGap())
          );
          jPanel4Layout.setVerticalGroup(
              jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel4Layout.createSequentialGroup()
                  .addContainerGap()
                  .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                      .addComponent(btnAddTalle)
                      .addComponent(txtTalleValor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(txtTalleClave, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(jLabel3))
                  .addContainerGap(13, Short.MAX_VALUE))
          );
  
          jPanel4Layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {btnAddTalle, jLabel3, txtTalleClave, txtTalleValor});
  
          jPanel5.setName("jPanel5"); // NOI18N
          jPanel5.setOpaque(false);
  
          jLabel5.setText(resourceMap.getString("jLabel5.text")); // NOI18N
          jLabel5.setName("jLabel5"); // NOI18N
  
          pinMin.setModel(new javax.swing.SpinnerNumberModel(1, 0, 99, 1));
          pinMin.setName("pinMin"); // NOI18N
  
          jLabel6.setText(resourceMap.getString("jLabel6.text")); // NOI18N
          jLabel6.setName("jLabel6"); // NOI18N
  
          pinMax.setModel(new javax.swing.SpinnerNumberModel(5, 1, 99, 1));
          pinMax.setName("pinMax"); // NOI18N
  
          jLabel7.setText(resourceMap.getString("jLabel7.text")); // NOI18N
          jLabel7.setName("jLabel7"); // NOI18N
  
          pinCant.setModel(new javax.swing.SpinnerNumberModel(5, 0, 99, 1));
          pinCant.setName("pinCant"); // NOI18N
  
          btnAddVacaciones.setText(resourceMap.getString("btnAddVacaciones.text")); // NOI18N
          btnAddVacaciones.setName("btnAddVacaciones"); // NOI18N
          btnAddVacaciones.addActionListener(new java.awt.event.ActionListener() {
              public void actionPerformed(java.awt.event.ActionEvent evt) {
                  btnAddVacacionesActionPerformed(evt);
              }
          });
  
          javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
          jPanel5.setLayout(jPanel5Layout);
          jPanel5Layout.setHorizontalGroup(
              jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel5Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(jLabel5)
                  .addGap(6, 6, 6)
                  .addComponent(pinMin, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                  .addComponent(jLabel6)
                  .addGap(6, 6, 6)
                  .addComponent(pinMax, javax.swing.GroupLayout.PREFERRED_SIZE, 47, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(jLabel7)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(pinCant, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(btnAddVacaciones)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
  
          jPanel5Layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {pinCant, pinMax, pinMin});
  
          jPanel5Layout.setVerticalGroup(
              jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel5Layout.createSequentialGroup()
                  .addContainerGap()
                  .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                      .addComponent(jLabel6)
                      .addComponent(jLabel5)
                      .addComponent(pinMin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(pinMax, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(jLabel7)
                      .addComponent(pinCant, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(btnAddVacaciones))
                  .addContainerGap(13, Short.MAX_VALUE))
          );
  
          javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
          jPanel1.setLayout(jPanel1Layout);
          jPanel1Layout.setHorizontalGroup(
              jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel1Layout.createSequentialGroup()
                  .addContainerGap()
                  .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                      .addGroup(jPanel1Layout.createSequentialGroup()
                          .addComponent(jLabel1)
                          .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                          .addComponent(jSpinner1, javax.swing.GroupLayout.PREFERRED_SIZE, 67, javax.swing.GroupLayout.PREFERRED_SIZE)
                          .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                          .addComponent(jLabel2))
                      .addGroup(jPanel1Layout.createSequentialGroup()
                          .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                              .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, 365, Short.MAX_VALUE)
                              .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                          .addGap(51, 51, 51)
                          .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                              .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, 391, Short.MAX_VALUE)
                              .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                  .addContainerGap(42, Short.MAX_VALUE))
          );
          jPanel1Layout.setVerticalGroup(
              jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel1Layout.createSequentialGroup()
                  .addContainerGap()
                  .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                      .addComponent(jLabel1)
                      .addComponent(jSpinner1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(jLabel2))
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                      .addComponent(jPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                  .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                      .addGroup(jPanel1Layout.createSequentialGroup()
                          .addGap(6, 6, 6)
                          .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 187, javax.swing.GroupLayout.PREFERRED_SIZE)
                          .addGap(134, 134, 134))
                      .addGroup(jPanel1Layout.createSequentialGroup()
                          .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                          .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, 187, Short.MAX_VALUE)
                          .addContainerGap())))
          );
  
          jPanel1Layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {jPanel2, jPanel3});
  
          jPanel1Layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {jPanel4, jPanel5});
  
          javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
          getContentPane().setLayout(layout);
          layout.setHorizontalGroup(
              layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
          );
          layout.setVerticalGroup(
              layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 470, Short.MAX_VALUE)
          );
  
          pack();
      }// </editor-fold>//GEN-END:initComponents
  
      private void btnAddVacacionesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAddVacacionesActionPerformed
          JPanel pan = addRangoVacaciones(new VacacionesRango(
                  Integer.valueOf(pinMin.getValue().toString()), 
                  Integer.valueOf(pinMax.getValue().toString()),  
                  Integer.valueOf(pinCant.getValue().toString())));
          jPanel6.add(pan);
          jPanel6.repaint();
          jPanel6.revalidate();
      }//GEN-LAST:event_btnAddVacacionesActionPerformed
  
      private void btnAddTalleActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAddTalleActionPerformed
          JPanel pan = addTalle(new Parametro(txtTalleClave.getText(), txtTalleValor.getText()));
                 
          jPanel7.add(pan);
          jPanel7.repaint();
          jPanel7.revalidate();
      }//GEN-LAST:event_btnAddTalleActionPerformed
  
      /**
       * @param args the command line arguments
       */
      public static void main(String args[]) {
          /* Set the Nimbus look and feel */
          //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
          /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
           * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
           */
          try {
              for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                  if ("Nimbus".equals(info.getName())) {
                      javax.swing.UIManager.setLookAndFeel(info.getClassName());
                      break;
                  }
              }
          } catch (ClassNotFoundException ex) {
              java.util.logging.Logger.getLogger(JDParametros.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
          } catch (InstantiationException ex) {
              java.util.logging.Logger.getLogger(JDParametros.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
          } catch (IllegalAccessException ex) {
              java.util.logging.Logger.getLogger(JDParametros.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
          } catch (javax.swing.UnsupportedLookAndFeelException ex) {
              java.util.logging.Logger.getLogger(JDParametros.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
          }
          //</editor-fold>
  
          /* Create and display the dialog */
          java.awt.EventQueue.invokeLater(new Runnable() {
  
              public void run() {
                  JDParametros dialog = new JDParametros(new javax.swing.JFrame(), true);
                  dialog.addWindowListener(new java.awt.event.WindowAdapter() {
  
                      @Override
                      public void windowClosing(java.awt.event.WindowEvent e) {
                          System.exit(0);
                      }
                  });
                  dialog.setVisible(true);
              }
          });
      }
      
      private void CargarTalles(){
          BoxLayout lay = new BoxLayout(jPanel7, BoxLayout.Y_AXIS);
          jPanel7.setLayout(lay);
          for(EntidadAbstracta p : ParametrosSistema.getGrupo("TALLE")){
              jPanel7.add(addTalle((Parametro)p));
          }
          jPanel7.repaint();
          jPanel7.revalidate();
          pack();
      }
      
      private void CargarVacaciones(){
          BoxLayout lay = new BoxLayout(jPanel6, BoxLayout.Y_AXIS);
          jPanel6.setLayout(lay);
          for(VacacionesRango p : ParametrosSistema.rangosVacaciones.getRangos()){
              addRangoVacaciones(p);              
              jPanel6.add(addRangoVacaciones(p));
          }
          jPanel6.repaint();
          jPanel6.revalidate();
          pack();
      }
      
      private JPanel addTalle(Parametro p){
          JPanel panel = new JPanel();
          panel.setOpaque(false);
          panel.setLayout(new java.awt.GridLayout(1, 2, 10, 10));
          JLabel lbl = new JLabel(p.getClave());
          lbl.setOpaque(false);
          lbl.setMinimumSize(new Dimension(150, 30));
          panel.add(lbl);
          JTextField txt = new JTextField(p.getValor());
          txt.setOpaque(false);
          txt.setMinimumSize(new Dimension(150, 30));
          panel.add(txt);   
          return panel;
      }
      
      private JPanel addRangoVacaciones(VacacionesRango p) {
          JPanel panel = new JPanel();
          panel.setOpaque(false);
          panel.setLayout(new java.awt.GridLayout(1, 6, 10, 10));
  
          JLabel lbl1 = new JLabel("Min:");
          lbl1.setOpaque(false);
          //lbl.setMinimumSize(new Dimension(150, 30));
          panel.add(lbl1);
          JSpinner maxv1 = new JSpinner();
          maxv1.setValue(p.getMinDias());
          maxv1.setOpaque(false);
          //maxv1.setMinimumSize(new Dimension(150, 30));
          panel.add(maxv1);   
  
  