Is this your first time here? SwingWiki is a Java Swing Developer community site with an big archive of Swing-related usenet groups and mailing lists, but also tips, tricks and articles and book reviews written by your colleagues from around the world. If you came here through a search engine and did not find what you were looking for, make sure to check the wiki table of contents.

Re: Problem - cannot display rows correctly in jTable

From:"Kevin Dean [TeamB]" [NkOdSePaAnM@masked-domain]
Sent on:27 Nov 2006 08:23:44 -0700
[dtsignopoulos@masked-domain] 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
Found what you were looking for? If not - continue at Wiki Index

Other messages in this topic

SenderDate sentSubject
steve [steve@masked-domain]Thu, 30 Nov 2006 06:24:23 +0800Re: Problem - cannot display rows correctly in jTable
"Andrew Thompson" [andrewthommo@masked-domain]29 Nov 2006 03:33:50 -0800Re: Problem - cannot display rows correctly in jTable
[dtsignopoulos@masked-domain]29 Nov 2006 03:02:01 -0800Re: Problem - cannot display rows correctly in jTable
[dtsignopoulos@masked-domain]29 Nov 2006 03:00:55 -0800Re: Problem - cannot display rows correctly in jTable
"Andrew Thompson" [andrewthommo@masked-domain]27 Nov 2006 21:05:51 -0800Re: Problem - cannot display rows correctly in jTable
[dtsignopoulos@masked-domain]27 Nov 2006 04:30:45 -0800Problem - cannot display rows correctly in jTable
"Andrew Thompson" [andrewthommo@masked-domain]27 Nov 2006 20:22:17 -0800Re: Problem - cannot display rows correctly in jTable
"Jeff" [jeffrey.summers@masked-domain]27 Nov 2006 19:57:30 -0800Re: Problem - cannot display rows correctly in jTable
[dtsignopoulos@masked-domain]27 Nov 2006 11:09:44 -0800Re: Problem - cannot display rows correctly in jTable
Ian Wilson [scobloke2@masked-domain]Mon, 27 Nov 2006 17:44:51 +0000Re: Problem - cannot display rows correctly in jTable
[dtsignopoulos@masked-domain]27 Nov 2006 08:46:13 -0800Re: Problem - cannot display rows correctly in jTable
"Andrew Thompson" [andrewthommo@masked-domain]27 Nov 2006 06:21:30 -0800Re: Problem - cannot display rows correctly in jTable
[dtsignopoulos@masked-domain]27 Nov 2006 06:09:52 -0800Re: Problem - cannot display rows correctly in jTable
"Andrew Thompson" [andrewthommo@masked-domain]27 Nov 2006 05:51:50 -0800Re: Problem - cannot display rows correctly in jTable
[dtsignopoulos@masked-domain]27 Nov 2006 05:12:59 -0800Problem - cannot display rows correctly in jTable

 
Recent changes | RSS changes | Table of contents | News Archive | Terms And Conditions | Register | The Quest For Software++| Ruby Resources

Sedo - Buy and Sell Domain Names and Websites project info: swingwiki.org Statistics for project swingwiki.org etracker� web controlling instead of log file analysis