#6 Scrolling performance
open-fixed
5
2004-04-17
2004-04-17
No
When scrolling with scrollbars performance is o.k.
When using the down cursor key, performance degrades,
because the whole viewport content is redrawn.
Logged In: YES
user_id=68692
The reason was the backing-store scroll mechanism, which was
the best option back in the days when jdk1.2 was used to
develop red. This backing-store mode has problems with the
scrollToRectangle method (documented in JViewport.java)
With jdk1.3 a new scroll mode has appeared which works with
bitblt and is of course much faster. So the only thing to do
was to eliminate the setScrollMode line from RSE.java.