JFreeChart in Applet: Problems with refreshing chart

S

scifluent

I've created an applet and then added a JFreechart ChartPanel to it.

jContentPane.add(myChartPanel);

myChartPanel is a member variable of my applet

and I see the plot just fine. Then I change the chart by setting
the myChartPanel to a new ChartPanel

myChartPanel = ChartPanelCreator.getChartPanel();

but the chart does not refresh in my applet.

I've tried jContentPane.repaint(); but no...

Suggestions?
 
A

Andrew Thompson

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top