Inside? You can setDefaultValue(myHint) and then add a focushandler. Inside the handler check to see if the value is == myHint, if so setValue(""). Not sure that is the effect you want though. Many web apps do something similiar but use light gray text in the box so it is obvious it is a hint being provided.
The latest nightly of SC supports this with the standard setShowHintInField(true) setting. I don't know how this affects SGWT but it is doable with JSNI at least.
Comment