String n = name.toLowerCase();
			public boolean accept(File dir, String name)			{				String n = name.toLowerCase();				File f1 = new File(dir, name);				if (!(n.endsWith("jpg") || n.endsWith("jpeg")))				{					return false;				}				return !f1.isDirectory();			};