Drawing in ScrollPane

hi, i am using a ScrollPane component. inside the component i am loading an image. now i want to draw line on that image in the scrollPane, so that if the image is scrolled down/up the drawn lines also moved. how can i do this??? plz help me Faraz