adding a custom class to my sketch
in
Programming Questions
•
2 years ago
I created a java file, and compiled it with javac to create okee.class
public class okee
{
public static void yarp( )
{ System.err.println("yarp");
}
}
That part was easy.
But to get it to work with processing, I have a two part question:
[1] Where do I put my okee.class relative to my sketch folder?
[2] How do I "import" my class in my sketch so that I can call okee.yarp( ); ?
1