JScrollPane Scrolling Problem on Mac
843806Dec 7 2007 — edited Dec 14 2007I'm developing a simple application to manage a list of staff members, and it seems to work fine on Windows. I'm now in the process of porting it to Mac Os X, but I'm running into some problems that I haven't been able to find answers to anywhere online.
I'm using a custom component that displays an image and several labels. I add several instances of these to a vertical box, set a viewport to view the box, and create a JScrollPane to display the view.
The problem I am running into is that whenever I scroll, the images and text blur. Anything that was out of the viewport before I began scrolling leaves streaks across the screen. I thought it might be some problem with the repaint method, but if it is I haven't been able to figure it out.
If anyone has any idea what might be causing this problem, I'd really appreciate it.