import java.io.File;
import java.io.FileInputStream;
//import javax.swing.JFrame;
public class filterpanitha {
//public void graph(){
//}
/**
* @param args
*/
publi
This exception java.lang.RuntimeException: Uncompilable source code is seen when using an IDE which allows you to run your project/code, even if some classes are not compiled (due to errors in code). I suggest fixing your code and you have zero errors before running your project.
Also, java.io.File never have the method setSampleValueAt(). This is what causes your code to never compile.
Your error is in this line
int value = file.getSampleValueAt(index);
File doesn't provide the method getSampleValueAt.