* @param fileType
* The file type which will be handled.
*/
public void addFileTypeIcons(String iconKey, String fileType, ImageIcon errorIcon) {
ImageIcon defaultIcon = ResourcesRepository.getImageIcon(fileType + "-icon.png");
MultiIcon multi = new MultiIcon();
multi.addIcon(defaultIcon, MultiIcon.CENTER);
multi.addIcon(errorIcon, MultiIcon.CENTER);
icons.put(iconKey, defaultIcon);
icons.put(iconKey + "-error", multi);
}