Each of those lines constructs an object and adds it to the tabbed pane. The compiler can't find any of those classes so where are the Sharp, Blurr, Edge etc classes?
How are you compiling? Do you use javac from a command line, or use a build tool like Ant or Maven, or use an IDE like IntelliJ or Eclipse. The trick is going to be compiling all source files in the package at once so the compiler can resolve all the cross-references you have. You might also consider refactoring to reduce the cross-references. This could make the program easier to work with in a number of ways.
What is the exact command that you are typing to compile the source code? And what exactly is the output? (Please copy & paste the command and the output from the compiler).
C:\Users\SINGHALS\Desktop\ImageProject\ImageProject>javac Main.java
Main.java:14: cannot find symbol
symbol : class Sharp
location: class Main
tabs.addTab("Sharp",new Sharp());
^
Main.java:15: cannot find symbol
symbol : class Blurr
location: class Main
tabs.addTab("Blurr",new Blurr());
^
Main.java:16: cannot find symbol
symbol : class Edge
location: class Main
tabs.addTab("Edge",new Edge());
^
Main.java:17: cannot find symbol
symbol : class AntiAlias
location: class Main
tabs.addTab("AntiAlias",new AntiAlias());
^
Main.java:18: cannot find symbol
symbol : class Epipolar
location: class Main
tabs.addTab("Epipolar",new Epipolar());
^
Main.java:19: cannot find symbol
symbol : class DGFilter
location: class Main
tabs.addTab("Direction Gaussian Filtering",new DGFilter());
^
6 errors
And none has a package declaration?
I tried your two classes, had to remove the bold tags (don’t put any other tags inside code tags; they don’t work), commented out the addition of Blurr (it should be Blur) etc., and it both compiled and ran for me.
When I commented out the lines with the classes in which you didn’t supply (Blur, Edge, etc), I was able to compile and run it. Where are the Blur, Edge, etc, .java and .class files?