FileDocCategorySizeDatePackage
JavaFilter.javaAPI DocExample473Sun Mar 28 19:08:38 BST 1999com.macfaq.swing.filechooser

JavaFilter

public class JavaFilter extends FileFilter

Fields Summary
Constructors Summary
Methods Summary
public booleanaccept(java.io.File f)

    if (f.getName().endsWith(".java")) return true;
    else if (f.getName().endsWith(".jav")) return true;
    else if (f.isDirectory()) return true;
    return false;
  
public java.lang.StringgetDescription()

    return "Java source code (*.java)";