🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Updating a JTextArea

#8627
From: Jack
Date: Thu, 03 Aug 2000 00:00
19 lines
1158 bytes
I have a simple application composed of a JFrame with
a JTextArea and a JButton. When I press the JButton,
I do some iterative file processing which takes awhile.
What I would like to do is "append()" the file name
to the JTextArea after processing each file and have
it immediately displayed in the JTextArea. What is happening
is that it waits until the very end and then displays all
the file names at once. Does anyone know how I can get
the JTextArea to refresh itself after each append?

Thanks!


-- 


Jack 

Note: Please remove spambgone from email address to reply.
Technical Details
Message-ID: <8F85A7495jcookshelluscom@207.204.214.130>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,a12fbc0eea7dd5a,start
X-Google-Attributes: gid111d45,public
From: jcook@spambgoneshellus.com (Jack)
Subject: Updating a JTextArea
Date: 2000/08/03
Message-ID: <8F85A7495jcookshelluscom@207.204.214.130>
X-Deja-AN: 654177743
Organization: Shell
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
User-Agent: Xnews/03.04.11
Newsgroups: borland.public.jbuilder.java.swing
X-Complaints-To: abuse@eldosales.com