filter in FileChooser
my application requires to browse the file system for jpg files on the 'browse' button click.
I am trying to enter a filter using the following line of code
JFileChooser chooser =new JFileChooser();
chooser.setFileFilter(javax.swing.filechooser.FileFilter);
I have imported "javax.swing.*"
but, I get the following compilation error
"Javadoc not found. Either Javadoc documentation for this item does not exist or you have not added specified Javadoc in the Java Platform Manager or the Library Manager."
What should I do to get away with this error and include the filter?

