title: Draw a simple line graph in Swing
body: <p>How can i draw a line graph in  <code>Java Swing</code>. I'm making a program in which when user clicks on a jframe it will record its coordinate and when it click on a button named Draw Graph, it generates a line graph using the points. So, How can i draw a line graph in Swing</p>