This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setText() problem

 
Jade Davidson
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to display text in the TextArea of my applet. I am converting the applet from a pre-existing program, where I had the results print out on six separate lines. I am trying to use setText() to display these lines in the TextArea, but only the last lines displays. I think that each subsequent String is obliterating the other ones, so that only the last one is displayed in the TextArea. How can I fix this? Please help... I checked the API for both setText() and getText() and didn't find anything that mentioned this situation.
 
Paul Stevens
Ranch Hand
Posts: 2823
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use append()
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic