I need to get a list of classes that are in my project. If Greenfoot supported packages this would be easy, but it does not. So how can I get a list of all the classes in my project?
In general, it's not easy to get a list of the classes which could be used by a Java program, whether they're in named packages or (as in Greenfoot) in the un-named package. The approaches I've seen rely on being able to look for all the .class files in the project folder(s), or in the Jar file used for a stand-alone application.
I don't imagine that the Java Security Manager would let you scan a Jar file from a remote URL, so this technique might not work at all running an Applet from a web server (e.g. the Gallery).