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


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

Re: JScrollPane not scrolling smoothly on fast computer

From Jim Hicks <james.hicks78@gmail.invalid>
Subject Re: JScrollPane not scrolling smoothly on fast computer
Newsgroups comp.lang.java.programmer
References <miljjg$frc$1@dont-email.me>
Message-ID <sD17x.521099$zE7.124344@fx40.am4> (permalink)
Organization virginmedia.com
Date 2015-05-20 15:20 +0000

Show all headers | View raw


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!

-- 
Jim Hicks

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next 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