Java Notes

File Filters

There are two common uses of file filters, which restrict the choice of files.

Potential Name Conflict

If you import both javax.swing.filechooser.* and*, you will have a name conflict because both file filters use the same name. Use the fully qualified name in your code to eliminate these problems.