Hello! Im adding a class I created with 2D graphics called AnimationChartCanvas on to my class AnimationChart. After I added the JScrollBar and move the scroller, it doesn't move the viewport. If anyone could please help me out that would be awesome. Im still a newbie at Java programming .
Here is my code so far: (i think I added extra stuff when I tried calling the JScrollPane stuff).. My code displays the actual scrollbar, but the scrollbar doesn't control the view.