textArea.setText(textArea.getText() + newText); should let you append the data.
To get data continuously you'll either need to poll the server, which will be expensive if you have many clients, or use something like long-polling to push data from the server to each client as it's generated. That'll be more work, but it's probably the right way to do it. Maybe poll for now, and then add comet when you have time. http://code.google.com/p/gwt-comet/ for one implementation of the client side. On Tuesday, October 9, 2012 5:20:42 PM UTC+2, tnagarnaik wrote: > > Hello, > I am currently working on a module in which I want that logs should > be > fetched from the server and should get displayed on client in a > Textarea(GUI) > continuously.How can I append the new data at the end of already present > information in textarea and is there any function for getting the info > continuously from the server because the function is returning a single > String? > Plz do reply as soon as possible.Thanks. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/JgObz6iD3AYJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.