Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JTabbedPane : JPanel transparent to 2D drawings

843804Oct 18 2004 — edited Oct 28 2004
Hi.

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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 25 2004
Added on Oct 18 2004
2 comments
156 views