I am drawing some vertical and horizontal lines which is some type of a graph. There are a large number of nodes. It works fine but my problem is when I try to move the scrollbar it takes a long time to draw. Can someone give me some advise regarding this.
I am creating a jpanel and adding it to the jscollpane's viewport.
Thanks in advance