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