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


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

JScrollPane - ScrollBar -

From "Bill" <bill@THRWHITE.remove-dii-this>
Subject JScrollPane - ScrollBar -
Message-ID <jan9h.462$ZM.34@newsfe11.lga> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:25 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Hi All,

    I have a JScrollPane containing a JTable.

    I programatically traverse the JTable by selecting rows and  scrolling 
the JTable

            jTable.scrollRectToVisible(r);


    However the scrollbar doesn't get updated until after all my processing 
has completed, then the scrollbar 'jumps' to the bottom. Is there any way to 
get it to be updated while the jTable is being processed, so the user has 
some indication of how far the processing has progressed?

TIA

Bill

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

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


Thread

JScrollPane - ScrollBar - "Bill" <bill@THRWHITE.remove-dii-this> - 2011-04-27 15:25 +0000
  Re: JScrollPane - ScrollB "Bart Cremers" <bart.cremers@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
    Re: JScrollPane - ScrollB "Ian Wilson" <ian.wilson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
    Re: JScrollPane - ScrollB "Bill" <bill@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: JScrollPane - ScrollB "Nigel Wade" <nigel.wade@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000

csiph-web