*
* @param borderSize the size of the MarginBorder
*/
public StickyNoteFigure(int borderSize) {
setBorder(new MarginBorder(borderSize));
FlowPage flowPage = new FlowPage();
textFlow = new TextFlow();
textFlow.setLayoutManager(new ParagraphTextLayout(textFlow,
ParagraphTextLayout.WORD_WRAP_SOFT));
flowPage.add(textFlow);
setLayoutManager(new StackLayout());
add(flowPage);
}