java get icon for file type code example Example: java get icon for file type FileSystemView.getFileSystemView().getSystemIcon(file)