Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

Update TextArea

Thread view: 
bwilde@gmail.com - 22 May 2006 02:55 GMT
Hello,

I have a recursive function in which I would like to update the text
held in a JTextArea.  The problem that I'm running into is that the
updates do not occur live, but rather only once the program is done
with execution.

I looked on the forum and saw it recommended to use the update() method
to handle this.  I don't know if it's because I'm using Java 1.5, but
the options that I have are updateUI or update(Graphics g).  The
updateUI does not work, and I'm not doing anything with graphics, so
neither of these seem to be valid options.

Does anybody have an idea of what else I can try?

Thanks,
Ben
Knute Johnson - 22 May 2006 17:55 GMT
> Hello,
>
[quoted text clipped - 13 lines]
> Thanks,
> Ben

You could post a simple compilable example that demonstrates your
problem.  In lieu of that you could post your actual code.

Signature

Knute Johnson
email s/nospam/knute/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.