A
Adam Polt
Hello!
I have implemented a class which extends JPanel in which I've
overridden PaintComponent() to visualize a tree (or graph) using the
Graphics2D package. I've put this into a jScrollPane, because the
tree is typically bigger than the screen will allow. The graphics
work nicely, but once the panel is scrolled, it "chops up" the image
(on the part that was originally not shown.)
I was wondering if anyone knew of a simple (or not simple, but simple
is preferable, obviously) way to fix this problem.
Thanks for your help!
-Adam
I have implemented a class which extends JPanel in which I've
overridden PaintComponent() to visualize a tree (or graph) using the
Graphics2D package. I've put this into a jScrollPane, because the
tree is typically bigger than the screen will allow. The graphics
work nicely, but once the panel is scrolled, it "chops up" the image
(on the part that was originally not shown.)
I was wondering if anyone knew of a simple (or not simple, but simple
is preferable, obviously) way to fix this problem.
Thanks for your help!
-Adam