Search found 1 match

by jphughes
Mon Nov 04, 2013 12:34 am
Forum: JFreeChart
Topic: Multithreading support for JFreeChart
Replies: 9
Views: 15291

Re: Multithreading support for JFreeChart

A better solution is to update the information in the Swing thread. The following works and is significantly simpler... void add(final double value) { final Millisecond time = new Millisecond(); SwingUtilities.invokeLater(new Runnable() { public void run() { series.add(time, value, true); } }); }