I simply cannot wrap my head around this problem! I have done everything I can think of but I simply can't figure it out! I'm sure it's an easy fix as well. I am fairly new to Java but have a pretty good amount of experience of programming in general.
Anyway, enough with the preface. I want to detect that a blip has been submitted (which I can do) and then append some styled text on the end of the blip (on a new line). I can append unstyled text easily with the append() method. I can also use setAnnotations() to change some styles on the entire text of the blip. But I can't figure out how to take some text, style it with colors or whatever, and then append it. I read up on the StyledText class but that deals with bold/ underlined, etc type styles it seems. I also tried using TextView as a constructor to create an empty TextView type variable but, silly me, TextView is an interface and has no constructor. So then I tried taking the TextView variable I got from blip.getDocument() and tried to delete() the contents and repopulate them but that didn't work because the delete() method returns void. I feel ridiculous because this must have a very basic solution but I just can't find it. I would really appreciate it if someone would help me out on this! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Wave API" 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-wave-api?hl=en -~----------~----~----~----~------~----~------~--~---
