Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #31726

Re: JScrollPane not scrolling smoothly on fast computer

From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.lang.java.programmer
Subject Re: JScrollPane not scrolling smoothly on fast computer
Date 2015-05-20 10:45 -0700
Organization A noiseless patient Spider
Message-ID <mjih57$oem$1@dont-email.me> (permalink)
References <miljjg$frc$1@dont-email.me> <sD17x.521099$zE7.124344@fx40.am4>

Show all headers | View raw


On 5/20/2015 08:20, Jim Hicks wrote:
> On Sat, 09 May 2015 11:29:05 -0700, Knute Johnson wrote:
>
>> ... issues with JScrollPanes with lots of JComponents in them
>> not scrolling smoothly. ...
>
>> ... manually turning it on on the
>> command line fixed our sticky scrolling problem.  Just add
>> -Dsun.java2d.opengl=True to the command line and it's back to normal.
>
>> ... Hopefully this will help somebody with the same problem avoid all the
>> hassle and blame that their software is bad in the future.
>
> Thank you, Knute.  Thank you, thank you, thank you.
>
> My problem was a little different: the scrolling was quite smooth but there were
> artifacts left behind on the screen as if parts of the image were not being
> re-painted properly.
>
> Your suggestion has made this problem go away.
>
> Woohoo!
>

You are very welcome!

-- 

Knute Johnson

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

JScrollPane not scrolling smoothly on fast computer Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-05-09 11:29 -0700
  Re: JScrollPane not scrolling smoothly on fast computer e.d.programmer@gmail.com - 2015-05-11 12:59 -0700
    Re: JScrollPane not scrolling smoothly on fast computer Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-05-12 19:56 -0700
  Re: JScrollPane not scrolling smoothly on fast computer Jim Hicks <james.hicks78@gmail.invalid> - 2015-05-20 15:20 +0000
    Re: JScrollPane not scrolling smoothly on fast computer Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-05-20 10:45 -0700

csiph-web