07-20-2008 01:04 PM
I have a package in a separate java file that I have one class in already, namely Spacer, a derivation of a RichTextField. It works fine when I import it from my main java file. However, if I try to add another class to the same file that Spacer is in, the compiler complains that the new class eg FancyFontField should be in its own file.
The short question, does every class need to be in a separate file?
Sorry, I am still a noob.
07-20-2008 01:45 PM