Together with the last RepaintManager fix, we are now finally able to do the BLIT scroll mode in JViewport, which is more efficient and less memory hungry than the BACKINGSTORE scroll mode. I also had to do some clipping to avoid painting problems.
This time I think I have thoroughly tested the scrolling, I can see no problems with it. I hope this works for everybody else. If not, drop me a line and I'll see if I can fix it. 2006-02-27 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/JViewport.java (static_init): Changed default scrollmode to BLIT. (paintSimple): Added some clipping to avoid painting problems. (paintBlit): Added some clipping to avoid painting problems. /Roman