Changed isCodecAvailable to be a static method (as it should have

been).
This commit is contained in:
Robert Greene 2004-07-04 04:20:18 +00:00
parent 513571a919
commit 1abe035cf0
1 changed files with 2 additions and 3 deletions

View File

@ -71,14 +71,13 @@ public class GraphicsFileFilter implements FileFilter {
*/
public GraphicsFileFilter() {
super();
appleImage = AppleImage.create(1,1); // used by isCodecAvailable
}
/**
* Indicate if a codec is available (assist with interface requirements).
*/
public boolean isCodecAvailable() {
return appleImage != null;
public static boolean isCodecAvailable() {
return AppleImage.create(1,1) != null;
}
/**