blindfish wrote on May 18th, 2009, 4:24pm:You shouldn't need import...
Yes, because by default classes see the other classes in the same folder (unless they are private, of course).
Quote:name the tab that holds a class the same as the class name. [...] So maybe the same applies here
It is a requirement in Java.
In Processing, if the code is in a .pde file, the name is
mostly irrelevant, because the code there will be included in the main class.
If the code is in a .java file, you probably
must follow this requirement.
Other culprit I found in latest versions of Processing (wasn't a problem with earlier versions because of different naming conventions): avoid naming your sketch the name of a class you use there, eg. ArrayList if you use them, or PShape if you use them: behind the scene Processing will name the main class with this name, and it will be confused (is that self or the foreign class).