This is wrt a chat project. I have created a canvas object which displays images (icons) with text as input by the user. This is added to a scrollpane. The problem is when the scrollbar is moved only the last line of the conversation is painted and the portion above the last line is lost. Kindly reply asap.