public MeterHoras(Principal Obj) {

        initComponents();
        this.setLocationRelativeTo(null);
        this.setVisible(true);
        this.Obj = Obj;
        Obj.principal.diaActual = 0;
        mostrar();
        String key;
        Iterator iterator = Obj.principal.claves.keySet().iterator();
        while (iterator.hasNext()) {
            key = iterator.next().toString();
            selectorClave.addItem(key);
        }
        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 | InstantiationException | IllegalAccessException | javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(MeterHoras.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
    }