Files
ch.psi.plot/ch.psi.plot

Overview

Notes

JFree is not thread safe!

While data is modified while JFree is rendering the plot there will be an runtime exception.

E.g. if you define an array of hundred points to be plotted by JFree and for some reason you decide to remove (or alter) these points, then the rendering thread tries to finish rendering the 100 points it started with but allows the concurrent modification of the data. This causes a runtime ArrayIndexOutOfBounds or similar Runtime Exception in the worst case or at least give a 'noisy' impression of the plotting. However, the problem occurs only for large datasets and/or high update frequencies.