public static List<Venta> seleccionar() { SelectorDeFacturas selector = new SelectorDeFacturas(); selector.setSelectionMode(ListSelection.MULTIPLE_INTERVAL_SELECTION); selector.open(); if (!selector.hasBeenCanceled()) { List<Venta> ventas = new ArrayList<Venta>(); ventas.addAll(selector.getSelectedList()); selector.clean(); return ventas; } return new ArrayList<Venta>(0); }