@@ -0,0 +1,380 @@
+package photoframephotomodifier;%0A%0Aimport java.io.File;%0Aimport java.io.FilenameFilter;%0A%0Apublic class PictureFilter implements FilenameFilter %7B%0A    %0A    String extension;%0A    %0A    public PictureFilter(String extension) %7B%0A        this.extension = %22.%22+extension;%0A    %7D%0A    @Override%0A    public boolean accept (File dir, String name) %7B%0A        return name.endsWith(extension);%0A    %7D%0A%7D%0A

Create PictureFilter.java