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


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

Re: JTablle anomaly

From "Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Subject Re: JTablle anomaly
Message-ID <d3tgn31eo8jn617i3l130gp8h9oj74enl5@4ax.com> (permalink)
Newsgroups comp.lang.java.gui
References <bmsgn39dqd79608dsppn2itmgfoqlg74u1@4ax.com>
Date 2011-04-27 15:42 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
On Mon, 31 Dec 2007 04:42:03 GMT, Roedy Green
<see_website@mindprod.com.invalid> wrote, quoted or indirectly quoted
someone who said :

>I have noticed that when my JTable is scrolling, it sometimes displays
>the heading line temporarily before replacing it with the proper data
>line.  Is this a bug in Swing, or am I doing something wrong?

I found a pragmatic solution. After I make my calls that will trigger
gui changes, I use  Thread.yield(); in my computational thread to give
the Swing thread a crack at processing the GUI events.
-- 
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

---
 * 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 | Unroll thread


Thread

Re: JTablle anomaly "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
  Re: JTablle anomaly "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
    Re: JTablle anomaly "Alexander.V.Kasatkin" <alexander.v.kasatkin@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000

csiph-web