I suppose you want enable the Save button when your textareais NOT empty.
You can use the KeyDownHandler
textArea.addKeyDownHandler(new KeyDownHandler() {
@Override
public void onKeyDown(KeyDownEvent event) {
if(textArea.getValue().isEmpty){
//disable
} else {
//enable
}
}
});
Sure, you will not be notified if user paste text via ContexMenubut you cannot do anything for that.
You can use the ValueChangeHandler<String>too but it will be fired only when your textareawill lost the focus.
Hope it helps ...