case CreateCategoryImagesPane.IMAGES_USED: images = control.getImagesInUserDatasetsNotInCategoryGroup(group); break;
    private void showImages()    {        CategoryGroupData         group = (CategoryGroupData) view.getExistingGroups().getSelectedItem();        int selectedIndex = view.getImagesSelection().getSelectedIndex();        if (selectedIndex != selectionIndex) {            selectionIndex = selectedIndex;            List images = null;            switch (selectedIndex) {                case CreateCategoryImagesPane.IMAGES_IMPORTED:                    images = control.getImagesNotInCategoryGroup(group); break;                case CreateCategoryImagesPane.IMAGES_USED:                    images =                        control.getImagesInUserDatasetsNotInCategoryGroup(group);                    break;                case CreateCategoryImagesPane.IMAGES_GROUP:                    images =                         control.getImagesInUserGroupNotInCategoryGroup(group);                     break;                case CreateCategoryImagesPane.IMAGES_SYSTEM:                    images =                         control.getImagesInSystemNotInCategoryGroup(group);                     break;            }            if (images == null || images.size() == 0) return;            view.showImages(images);        }    }