[Date Prev][Date Next][Index][Thread]
[SGT Mail Archive]
[SGT Main Page]
sgt question
*************************************************
Message from the sgt mail list.
*************************************************
Hi
I'm developing an applet, based on your JTimeSeriesDemo, to view my
timeseries data. I based my code on the source of the demo. The problem I
have is when I try to replace the original plot with a second. When I
launch the applet, my graph shows up perfectly. However, when I make a new
graph and add it , I have problems. I get a either a white square or a
"mini-plot" in the upper left corner of the window. I've tried to draw and
repaint, nothing seems to work. I can remove the first plot with the
remove method, but I then get a white square in the upper left corner over
a gray background. I've duplicated the problem by adding these three
lines to the end of the public void init() { in JTimeSeriesDemo.java:
JPane secondPane;
secondPane = makeGraph();
getContentPane().add(secondPane, BorderLayout.CENTER);
I would appreciate any help you can give me.
Thanks
Mike
*************************************************
To remove yourself from this mailing list,
send mail to <Majordomo@epic.noaa.gov> with
"unsubscribe sgt" in the message body.