100101102103104105106107108109110
figure.setOpaque(false); label = new TextFlow(); FlowPage fp = new FlowPage(); fp.setLayoutManager(new PageFlowLayout(fp)); fp.setHorizontalAligment(PositionConstants.CENTER); fp.add(label); figure.add(fp, FlowLayout.ALIGN_CENTER);