title: Can someone please provide step-by-step instructions for using jfreechart in an IntelliJ project
body: <p>I cannot get JFreeChart to work in IntelliJ.</p>
  
  <p><strong>What I have done so far:</strong></p>
  
  <ul>
  <li>Using Win 7, IntelliJ 13.1.4 and Java 1.7</li>
  <li>I am relatively new to IntelliJ</li>
  <li>Started a new project in IntelliJ which creates the default directories root\out and root\src</li>
  <li>Added my own directory root\lib</li>
  <li>Put external libraries in there as .jar and .zip files (jcommon-1.0.23.zip, jfreechart-1.0.19.zip, junit-4.7.jar)</li>
  <li>In IntelliJ, opened the "Project Structure" dialog (Ctrl+Alt+Shift+S)</li>
  <li>In the left panel, selected "Modules"</li>
  <li>In the middle panel selected this project (the only thing that was there)</li>
  <li>In the right panel, on the "Sources" tab, selected the "src" directory</li>
  <li>Switched to the "Dependencies" tab</li>
  <li>Clicked on the green "+" button on the right</li>
  <li>Selected "2 Library... > Java"</li>
  <li>Navigated to root\lib and selected one of the .zip / .jar files</li>
  <li>A "Detected Roots" dialog pops up - I just clicked OK</li>
  <li>A "Configure Library" dialog pops up - I gave the library a sensible name and clicked OK</li>
  <li>The library appears in the Dependencies tab with a symbol next to it that looks like some books and is the same symbol as next to the "External Libraries" node in the project tool window (so I'm guessing this is the library symbol)</li>
  <li>Repeat for the other two libraries</li>
  <li>In a source file for the project, I have tried typing "import org.jfree.*;" but while typing the "jfree" bit is red and when I hit enter at the end of the line the line disappears.</li>
  <li>I have also tried typing "JFreeChart jFreeChart = new JFreeChart();" but the JFreeChart is red and when I click on it I don't get the option to import; only create class, interface, enum, etc.</li>
  <li>Incidentally, running jUnit tests works fine</li>
  <li>Also incidentally, the "External Libraries" node in the project tool window does show &lt; 1.7 > (i.e. the JDK) but does not show jUnit, jCommon, or jFreeChart.</li>
  </ul>
  
  <p>I have seen similar questions and the answers seem to indicate that what I have done is correct. I have also checked the IntelliJ documentation and that also indicated that what I have done is correct. However, it's clearly not working for me. Maybe I've misunderstood something.</p>
  
  <p>Can someone help me to get JFreeChart working please?</p>
  
  <p>Thanks</p>
  
  <p>EDIT: jUnit was working but now it's not. D'oh!</p>