if (images == null || images.size() == 0) return; view.showImages(images);
displayListImages(images);
    private void showImages()    {        int selectedIndex = view.getImagesSelections().getSelectedIndex();        if (selectedIndex != selectionIndex) {            selectionIndex = selectedIndex;            List images = null;            switch (selectedIndex) {                case CreateDatasetImagesPane.IMAGES_IMPORTED:                    images = control.getImportedImages(); break;                case CreateDatasetImagesPane.IMAGES_USED:                    images = control.getUsedImages(); break;                case CreateDatasetImagesPane.IMAGES_GROUP:                    images = control.getGroupImages(); break;                case CreateDatasetImagesPane.IMAGES_SYSTEM:                    images = control.getSystemImages(); break;            }            if (images == null || images.size() == 0) return;            view.showImages(images);        }    }