List of utility methods to do Icon
List | toImages(List extends Icon> icons) Converts the given Icon s to Image s. List<Image> images = null; if (icons != null) { images = new ArrayList<Image>(icons.size()); for (Icon icon : icons) { if (icon instanceof ImageIcon) { Image image = ((ImageIcon) icon).getImage(); images.add(image); return images; |