Object[] images = null;
List images = null;
	private void loadImages()	{        int selectedIndex = view.bar.selections.getSelectedIndex();        if (selectedIndex != index) {            index = selectedIndex;            Object[] images = null;            switch (selectedIndex) {                case ImagesPaneBar.IMAGES_IMPORTED:                    images = agentCtrl.getImportedImages().toArray(); break;                case ImagesPaneBar.IMAGES_USED:                    images = agentCtrl.getUsedImages().toArray(); break;                case ImagesPaneBar.IMAGES_GROUP:                    images = agentCtrl.getGroupImages().toArray(); break;                case ImagesPaneBar.IMAGES_SYSTEM:                    images = agentCtrl.getSystemImages().toArray(); break;            }            if (images == null) return;            view.displayImages(images);            loaded = true;        }	}	