Your class MUST extend an applet class.
public class Ejemplo1 extends Frame
Your code is not written to be an applet. Go to this site and Find applet:...
Type: Posts; User: Norm
Your class MUST extend an applet class.
public class Ejemplo1 extends Frame
Your code is not written to be an applet. Go to this site and Find applet:...
Can you post the lines of code in the applet that is creating the Ejemplo1 object?
What is the relationship between the applet and the Ejemplo1 class?