Within my class, I have the following method
public void buscaDetalleIncidencia() {
System.out.println("ENTRO AL METODO BUSCA DETALLE POR AÑO/MESSS");
muestraTablaDetalle = true;
incidenciaAnioMesDet = anioMesDetService.findIncidenciaAnioMesDeByAnioMes(cvePersona, annio, mes);
System.out.println("INCIDENCIA\n" + "DIA-" +incidenciaAnioMesDet.get(0).getDia() + " MES-" +incidenciaAnioMesDet.get(0).getIncidenciaAnioMes().getMes() + " AÑO-" +incidenciaAnioMesDet.get(0).getIncidenciaAnioMes().getAnio() +" CVE INCIDENCIA-" +incidenciaAnioMesDet.get(0).getIncidencias().getCveIdIncidencia());
//PRUEBA LISTA
Calendar calendar = Calendar.getInstance();
calendar.clear();
calendar.set(annio, mes - 1, 1);
while (calendar.get(Calendar.MONTH) == mes - 1) {
fechas.add(calendar.getTime());
calendar.add(Calendar.DAY_OF_MONTH, 1);
}
System.out.println("PREBA LISTA FECHA" + fechas);
}
where to my list incidenceAnotherMesDet I pass the find that returns the following in console
INCIDENCE DAY-1 MONTH-3 YEAR-2018 CVE INCIDENCE-12
now that data is the one that I must paint on my table, in the incidence column on 12, on the row corresponding to the column dated 01/02/2018