This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
This example shows how a simple charts can be created using the JChart2D library. It creates two windows, one with a static chart, and one with a continuously updated chart. The static chart is saved to disk as a JPEG file when the program is terminated.