Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gef-dev] Simple edit text field

Hello all,

I want to add a simple text edit field with 2 chars and with just one line.

I use a TextFlow with paragraph:
_________________________
        FlowPage flowPage = new FlowPage();

        textFlow = new TextFlow();

        textFlow.setLayoutManager(new ParagraphTextLayout(textFlow,
                ParagraphTextLayout.WORD_WRAP_SOFT));

        flowPage.add(textFlow);
__________________________________

but no text field appear on container Figure .

What is the problem ?

Pierre

Back to the top