Hello! This is the first time I've tried to write a method that is to be invoked. I'm reading about them on Google, and I'm a little confused. To simplify my code, I want my invoke method to perform several methods that would normally act upon the object.

I think I can figure it out with one piece of information...

Can the method being invoked be in the primary class that extends JApplet or does it have to be in its own class? If it has to be in its own class, does that class require a main method?

Thanks!