I went and read the information on the wiki at
http://code.google.com/p/processing/w/list, and did all that it said about making the template library, but from then on I get kind of lost. For example,I tried to just paste my class (made in Processing, not eclipse) into the bigger library, and it shows all kinds of errors about how color can't be resolved as a type, and it can't do loadFont and textFont.
I have a feeling that I am lacking a rather lot of knowledge, and that this is a bigger question than I think it is. Is there any good tutorials or things out there that I could use? Googling just turns up tutorials on how to use different libraries.
3