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


Groups > comp.lang.java.gui > #5346

Re: What is wrong with JScrollBar.setValue(...)????

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.gui
Subject Re: What is wrong with JScrollBar.setValue(...)????
Organization Canadian Mind Products
Message-ID <8eabq855e9f5tcva48ctunh4ebv6n0agb2@4ax.com> (permalink)
References <54774824.0302171202.7248c555@posting.google.com> <6fca945b-bd9b-4387-8bce-ecebb78aa3a4@googlegroups.com>
Date 2013-05-29 00:16 -0700

Show all headers | View raw


On Sun, 19 May 2013 19:50:23 -0700 (PDT), darko.chen@gmail.com wrote,
quoted or indirectly quoted someone who said :

>> JScrollBar.setValue() occasionally but predictably (always in the same
>> circumstances, and in the same way) sets the value wrong. I have
>> checked, and the correct value is being passed to setValue()

I have never noticed a problem. See
http://mindprod.com/jgloss/jscrollpane.html

Take my SSCCE (Simple Self Contained Compilable Example) and see if
you can modify it to get it to fail.

You might want to dump all the relevant data about your pane and the
size information of the thing in it each time you call.  It might be
the inner object lying about its size.

Also see http://mindprod.com/jgloss/swingthreads.html
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Technological possibilities are irresistible to man. 
If man can go to the moon, he will. 
If he can control the climate, he will. 
 ~ John von Neumann (born: 1903-12-28 died: 1957-02-08 at age: 53)

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Find similar


Thread

Re: What is wrong with JScrollBar.setValue(...)???? darko.chen@gmail.com - 2013-05-19 19:50 -0700
  Re: What is wrong with JScrollBar.setValue(...)???? "John B. Matthews" <nospam@nospam.invalid> - 2013-05-20 06:49 -0400
  Re: What is wrong with JScrollBar.setValue(...)???? Roedy Green <see_website@mindprod.com.invalid> - 2013-05-29 00:16 -0700

csiph-web