public void startup(Display display, Map<String, String> properties) throws Exception
{
TextArea textArea = new TextArea();
textArea.setText("abcxyz");
final ParagraphListener paragraphListener = new ParagraphListener.Adapter() {
@Override
public void textInserted(Paragraph paragraph, int index, int count) {
System.out.println("Text inserted\n\tparagraph content: '" + paragraph.getCharacters() + "" + "'\n\tindex: " + index + "\n\tcount: " + count);
}