JTabbedPane : JPanel transparent to 2D drawings
843804Oct 18 2004 — edited Oct 28 2004Hi.
I am using ptolemy/ptplot package for 2D graphics. I use a JTabbedPane to managae my plots by pages. Each plot is updated continuously by a Thread which get data from a datatbase.
The problem: when a plot is refreshed in a hidden Tab, the plot appears also in the selected Tab. Only
the data points appear, not the axes and the background. Result: I have a supperposition of "undesired
plots" on the selected Tab.
Please some one tell me how to solve this problem ?
N.B.: I don't have a real experience with Java 2D.
Christophe.