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(...)????

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-in-01.newsfeed.easynews.com!easynews!core-easynews-01!easynews.com!en-nntp-02.dc1.easynews.com.POSTED!not-for-mail
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
Reply-To Roedy Green <see_website@mindprod.com.invalid>
Message-ID <8eabq855e9f5tcva48ctunh4ebv6n0agb2@4ax.com> (permalink)
References <54774824.0302171202.7248c555@posting.google.com> <6fca945b-bd9b-4387-8bce-ecebb78aa3a4@googlegroups.com>
User-Agent ForteAgent/7.00.32.1200
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Lines 24
X-Complaints-To abuse@easynews.com
X-Complaints-Info Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date Wed, 29 May 2013 00:16:57 -0700
X-Received-Bytes 1935
Xref csiph.com comp.lang.java.gui:5346

Show key headers only | 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