I am using NetBeans IDE. I can import all Java API packages by using the command import java.util.*;, etc. But if I create a Project which has a package called "thinking", and try to import "thinking" from another Project. Compiler gives a message saying "thinking" does not exist.
The directory path for "thinking" is C:\JavaPrograms\Thinking\src\thinking. And I have added it to the Classpath Variable which now looks like: .;C:\Program Files\Java\jre1.5.0_07\lib\ext\QTJava.zip;C:\JavaPrograms\Thinking\src