public void setPayments(){      
        desktopPane.setCursor(new java.awt.Cursor(java.awt.Cursor.WAIT_CURSOR));
        try {
            try {
                tableModelDay.clear();
                listPaymentDay.clear();
                List<PaymentModel> input = new PaymentDAO().getPaymentDay(ut.dateFormatInsertSql(ut.dateFormatInsert(ut.getDateddMMyyyy())), Long.valueOf(this.IdBusiness));
                for (PaymentModel u : input) {
                    try {
                        String date_expiry = ut.dateFormatReturn(u.getDate_expiry());
                        String id_truck = trucksDAO.getBoardTruckById(u.getId_truck());
                        String valor = decimal.format(u.getValor()).replace(".", ",");
                        listPaymentDay.add(new DashboardPaymentDayTableModel(u.getId(), id_truck, u.getPayment(), date_expiry, valor, u.getIdentify()));
                    } catch (ParseException ex) {
                        Logger.getLogger(Dashboard.class.getName()).log(Level.SEVERE, null, ex);
                    }
                }
                tableModelDay.setData(listPaymentDay);
                t_payments_day.setModel(tableModelDay);
            } catch (ParseException ex) {
                Logger.getLogger(Dashboard.class.getName()).log(Level.SEVERE, null, ex);
            }
            try {
                tableModelToDay.clear();
                    listPaymentToDay.clear();
                    Calendar c = GregorianCalendar.getInstance();
                    c.add(Calendar.DAY_OF_MONTH, 1);
                    List<PaymentModel> input = new PaymentDAO().getPaymentToDay(ut.dateFormatInsertSql(ut.dateFormatInsert(sdf.format(c.getTime()))), Long.valueOf(this.IdBusiness));
                    for (PaymentModel u : input) {
                        try {
                            String date_expiry = ut.dateFormatReturn(u.getDate_expiry());
                            String id_truck = trucksDAO.getBoardTruckById(u.getId_truck());
                            String valor = decimal.format(u.getValor()).replace(".", ",");
                            listPaymentToDay.add(new DashboardPaymentToDayTableModel(u.getId(), id_truck, u.getPayment(), date_expiry, valor, u.getIdentify()));
                        } catch (ParseException ex) {
                            Logger.getLogger(Dashboard.class.getName()).log(Level.SEVERE, null, ex);
                        }
                    }
                    tableModelToDay.setData(listPaymentToDay);
                    t_payments_to_day.setModel(tableModelToDay);
            } catch (ParseException ex) {
                Logger.getLogger(Dashboard.class.getName()).log(Level.SEVERE, null, ex);
            }
                    tableModelPaymentsExpiry.clear();
                    listPaymentsExpiry.clear();
                    Calendar c = GregorianCalendar.getInstance();
                    c.add(Calendar.DAY_OF_MONTH, -1);
                    List<PaymentModel> input = new PaymentDAO().getPaymentsExpiry(ut.dateFormatInsertSql(ut.dateFormatInsert(sdf.format(c.getTime()))), Long.valueOf(this.IdBusiness));
                    for (PaymentModel u : input) {
                        try {
                            String date_expiry = ut.dateFormatReturn(u.getDate_expiry());
                            String id_truck = trucksDAO.getBoardTruckById(u.getId_truck());
                            String valor = decimal.format(u.getValor()).replace(".", ",");
                            listPaymentsExpiry.add(new DashboardPaymentsExpiryTableModel(u.getId(), id_truck, u.getPayment(), date_expiry, valor, u.getIdentify()));
                        } catch (ParseException ex) {
                            Logger.getLogger(Dashboard.class.getName()).log(Level.SEVERE, null, ex);
                        }
                    }
                    tableModelPaymentsExpiry.setData(listPaymentsExpiry);
                    t_payments_expiry.setModel(tableModelPaymentsExpiry);
            } catch (ParseException ex) {
                Logger.getLogger(Dashboard.class.getName()).log(Level.SEVERE, null, ex);
            }
            modulateTablePayments();
            this.toFront();

            this.countRowsDay = t_payments_day.getRowCount();
            this.countRowsToDay = t_payments_to_day.getRowCount();
            this.countRowsExpiry = t_payments_expiry.getRowCount();
            this.count = "Você possui: \n"+countRowsDay+" pagamento(s) para hoje!\n"
                    + countRowsToDay+" pagamento(s) para amanhã!\n"
                    + "e "+countRowsExpiry+" pagamento(s) vencidos!";
        desktopPane.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
    }