FileDocCategorySizeDatePackage
JavaFilter.javaAPI DocExample487Sun Mar 28 07:24:08 BST 1999com.macfaq.swing.filechooser

JavaFilter

public class JavaFilter extends com.sun.java.swing.filechooser.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)";