Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JScrollPane Scrolling Problem on Mac

843806Dec 7 2007 — edited Dec 14 2007
I'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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 11 2008
Added on Dec 7 2007
5 comments
308 views