On 17 juil, 15:47, Magnus <[email protected]> wrote: > Hi, > > I want a widget that shows the (growing) contents of a log file. > > First I tried it with TextArea, but this is not suitable. I want no > border and no cursor, because the text should not be editable. Instead > of customizing TextArea I tried Label and HTML. > > With Label and HTML I am missing an "append" method. It seems that I > have to concatenate the old content and the newly made log entry. This > could be slow if the log contents grow.
There's no append() in the JavaScript/DOM, so even if a GWT widget gives you an append() method, it'll do a setValue(getValue() + appendedText) in the end (BTW, there's no append() in TextArea either) > However, I even do not know if a "Label" is made for large text... It hasn't been designed for this originally, but it'll work great. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
