Adding calendar source files in Java problem
<p>I am trying to create a calendar instance.</p>

<p>I have imported the java.util.calendar but when I mouse over my code to create a calendar instance, it tells me that it cannot find the element in the attached javadoc or the source file.</p>

<p>From researching on google, I tried adding rt.jar but it hasn't changed anything.</p>

<p>When I look at the Calendar Class Editor, it tells me (apart from not finding the source):</p>

<pre><code> "//  (version 1.5 : 49.0, super bit)
  // Signature: Ljava/lang/Object;Ljava/io/Serializable;Ljava/lang/Cloneable;Ljava/lang/Comparable&lt;Ljava/util/Calendar;&gt;;
  public abstract class java.util.Calendar implements java.io.Serializable, java.lang.Cloneable, java.lang.Comparable {..."
</code></pre>

<p>I have tried to look for these jar files on the computer too and I cannot find them.  Does anyone know what I need to attach to resolve this problem?</p>

<p>Code Snippet:</p>

<pre><code> import java.util.*;
 .....
 Calendar cal = Calendar.getInstance();
 cal.add(Calendar.DATE,2);
 .....
</code></pre>
