Problems with Jpanel in a JScrollPane
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, August 21, 2001 01:27 PM

I have a top lvl Jpanel and i am using a cardlayout. Then i have several
JScrollPanes under this top Panel. Now I am placing an Object
(graph class) which I made in the JScrollPanes. I am doing this
because i Need to do some drawings such as graphs. My graphs
class extends Jpanel so it is a component and can be added
to the JScrollPanes. Everything works fine, it displays the graphs,
and the scroll bars are there. However, if i move the scroll bars
my image becomes smuged. It seems to take part of my gui
and smuge it displaying it over and over again. Please help me.
Thanks.

About | Sitemap | Contact