I am wondering is there an optimal way to set border (CSS like) for RichTextArea directly?;
I tried to use Formatter but it doesn't contain required methods :(
I'm using GWT 2.3.
There are many ways of achieving it.
You can use the following
getElement().setAttribute( "name", "value" );
Here provide CSS attribute name you want to modify and provide the value.
getElement().setClassName( "className" );
getElement().addClassName( "className" );
Here provide the CSS classname( it can be any name). Use the same className in your CSS file and do all the manipulation you need.