You should not be overriding the paint() method for this. In the init() method you should be creating the JFreeChart, constructing a ChartPanel using the created JFreeChart and adding the ChartPanel as a component to the JApplet component tree - probably the JApplet content pane.
Hey, I'm supposed to be the guide! Wait up! No fair! You have the tiny ad!
Devious Experiments for a Truly Passive Greenhouse!