> What do you mean by get the filename based upon the
> extension?
>
> Are you trying to filter the listing that you would
> receive from - say - the JFileChooser?
perhaps you can understand through this illustration
for(all Files)
{
if(extension.equals(".doc");
System.out.println(Filename);
}
Thank you