🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #208

Re: Problem - cannot display rows correctly in jTable

#208
From: Kevin Dean [TeamB]
Date: Mon, 27 Nov 2006 15:23
26 lines
2032 bytes
dtsignopoulos@gmail.com wrote:

>  They get to be displayed (UI) as
>soon ALL rows are done and over with, whereas the desired functionality
>is to be displayed as soon as they are entered (row by row).

The problem is that you're processing the rows in the same thread in which 
the rows are to be displayed.  You need to do this kind of processing in 
the background; your UI should then keep up with the processing just fine.

Here's a link to get you started:

http://java.sun.com/docs/books/tutorial/uiswing/concurrency/

-- 
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <xn0eu7r584adgy000-kdean@www.teamb.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <1164630645.278561.76730@n67g2000cwd.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,28c2112d9e504c5e
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Subject: Re: Problem - cannot display rows correctly in jTable
Newsgroups: borland.public.jbuilder.java.swing
References: <1164630645.278561.76730@n67g2000cwd.googlegroups.com>
Organization: Dolphin Data Development Ltd.
User-Agent: XanaNews/1.18.1.3
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobrp]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0eu7r584adgy000-kdean@www.teamb.com>
X-Ref: newsgroups.borland.com ~XNS:0000067D
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-7; format=flowed
NNTP-Posting-Host: 199.85.107.253
Date: 27 Nov 2006 08:23:44 -0700
X-Trace: newsgroups.borland.com 1164644624 199.85.107.253 (27 Nov 2006 08:23:44 -0700)
Lines: 26
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail