View Single Post
  #1 (permalink)  
Old 04-08-2008, 03:55 PM
Chris.Brown.SPE's Avatar
Chris.Brown.SPE Chris.Brown.SPE is offline
Member
 
Join Date: Apr 2008
Location: State College, PA
Posts: 50
Chris.Brown.SPE is on a distinguished road
Send a message via AIM to Chris.Brown.SPE
[SOLVED] Last line in JTextArea wont display
I have a JTextArea that is displaying decoded signals that are stored in a file. The file is updated periodically during the execution of the program. I fire periodic updates to the textarea, but every time the last line of the file is not shown. If i do a copy/paste to notepad the last line shows, or if i copy the text from the textarea to another textarea it shows up just fine. Any idea what would cause this or any kind of work around? I tried just keeping the textarea in the background and copying the contents to a new one that is visible, but the data in this textarea can get infinitely large and doubling that would be unfavorable.

Thanks,
Chris
Reply With Quote
Sponsored Links