private Grid<Cuenta> createGrid() {
		grid = new Grid<>();
		grid.setWidthFull();
		grid.addThemeVariants(GridVariant.LUMO_NO_BORDER,GridVariant.LUMO_ROW_STRIPES);
		SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
		grid.addColumn(c -> c.getIban()).setHeader("Iban").setFlexGrow(1);
        grid.addColumn(c -> c.getSaldo()).setHeader("Saldo").setFlexGrow(1);
        grid.addColumn(c -> dateFormat.format(c.getFechaCreacion())).setHeader("Fecha Creacion").setWidth("250px").setFlexGrow(0);
        return grid;
	}
private Grid<Cuenta> createGrid() {
		grid = new Grid<>();
		grid.setWidthFull();
		grid.addThemeVariants(GridVariant.LUMO_NO_BORDER,GridVariant.LUMO_ROW_STRIPES);
		SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
		grid.addColumn(c -> c.getIban()).setHeader("Iban").setFlexGrow(1);
        grid.addColumn(c -> c.getSaldo()).setHeader("Saldo").setFlexGrow(1);
        grid.addColumn(c -> dateFormat.format(c.getFechaCreacion())).setHeader("Fecha Creacion").setWidth("250px").setFlexGrow(0);
        return grid;
	}
private grid<cuenta> creategrid() { grid = new grid<>(); grid.setwidthfull(); grid.addthemevariants(gridvariant.lumo_no_border,gridvariant.lumo_row_stripes); simpledateformat dateformat = new simpledateformat("dd/mm/yyyy"); grid.addcolumn(c -> c.getiban()).setheader("iban").setflexgrow(1); grid.addcolumn(c -> c.getsaldo()).setheader("saldo").setflexgrow(1); grid.addcolumn(c -> dateformat.format(c.getfechacreacion())).setheader("fecha creacion").setwidth("250px").setflexgrow(0); return grid; }