title: How do I add a point to JApplet?
body: <p>I am trying to add a point into my JApplet, and have been searching google and yahoo for an answer to no avail. Whenever I do</p>
  
  <pre><code>public class Chaos
  {
    Point p = new Point(75, 25);
    public void frame()
    {
      JApplet applet = new JApplet
      applet.add(p); //error on this line
    }
  }
  </code></pre>
  
  <p>Eclipse says "The method add(Component) in the type Container is not applicable for the argument (Point)
  This may seem like an obvious question to some, I am relatively new to Java/</p>