I need to dynamically visualize some charts, oscilloscope and/or histogram type, but I need to update the graphics as fast and smoothly as possible, and not only visualize them, they should be mouse-click aware. Being able to run it in Windows as well as Linux and OS X is a plus.
I have made a oscilloscope type component (It is a while now). You can easily create component like that. If you overight an component that allready deal with mouse event, you will have only to deal with the rendering (extends JLabel for example).
In the paint method, it should like that :
public void paint(Graphics g)
newDate = false;
and when you change data :
public void addPoint(int x,int y)
newData = true;
Well, will it be fast enough ? It all depend of the complexity of your graphics, the speed that you add data,...
If I remember well, I was displaying something like 3 oscilloscopes at the same time over 3s with new data every 10 ms (not sure). And it was working on no so fast computer but the refresh rate was not too fast.
Give it a try on an swing component and if it is not fast enought, it will not be too dificult to convert it to stick.