private void prepareData() {

        Timer timer = new Timer(Utility.REFRESH_TIME, new ActionListener() {
            

            @Override
            public void actionPerformed(ActionEvent e) {
                resetTables();
            }
        });

        dia = Utility.getDate();

        try {
            horas = HorariosParse.getInstance();
            horarios = horas.getClosest();
            if (isDebug) {
                horarios = Utility.fixedHorarios;
                if (Utility.getDate() > 4) {
                    dia = Utility.fixedDay;
                }
            }
            mMaestrosParser = UsuariosParser.with(Utility.DB_STRING);
            mAsistenciaController = AsistenciaController.getInstance();

            resetTables();
            timer.start();

        } catch (ClassNotFoundException | SQLException | ParseException ex) {
            Logger.getLogger(AsistenciasForm.class.getName()).log(Level.SEVERE, null, ex);
        }

    }