So I know that the standard file filter code goes something like this:
FileNameExtensionFilter filter = new FileNameExtensionFilter("JPG & GIF Images", "jpg", "gif");
That example obviously applies for pictures, and the extensions it searches for are .JPG and .GIF. What if the user, however, has files with no extension? As in there is no ".". Is there a special keyword I can put on the extension portion of this? thank you for your help.