Layout manager with HText...

Hi everyone, I want to develop an application (Xlet) and i use Hsce and Htext. I want to align the Htext in the rect but when i use DVBTextLayoutManager i can't see the Htext, but when i use Hdefaultlayoutmanager i can see the Htext . I use Xletviewer. This is my code:

HSceneFactory hsf = HSceneFactory.getInstance();

scene = hsf.getFullScreenScene(HScreen.getDefaultHScreen().getDefaultHGraphicsDevice());

scene.setSize(720,576);

scene.setLayout(null);

scene.setVisible(true);

cont = new HContainer(0,0,720,576);

DVBTextLayoutManager manage = new DVBTextLayoutManager();

manage.setHorizontalAlign(DVBTextLayoutManager.HORIZONTAL_START_ALIGN);

manage.setVerticalAlign(DVBTextLayoutManager.VERTICAL_CENTER);

text5 = new HText(contenuto, new Font("Tiresias", Font.BOLD, dimensionecont), Color.black, Color.white, manage);

//new HDefaultTextLayoutManager());

text5.setBounds(100,250,610,250);

text5.setVisible(true);

cont.add(text5);

scene.add(cont);

scene.repaint();

where is the problem? thank you

[1114 byte] By [alfred1234a] at [2007-11-26 16:48:33]
# 1
HiI use vidiom's emulator and your example works correctly.So I think XletView has not implemented DVBTextLayoutManager yet.
pashkina at 2007-7-8 23:16:05 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2
Hi,where I can download libraries for using DVBTextLayoutManager ?Thanks
claydosa at 2007-7-8 23:16:05 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 3

Hi!

I have the same problem when i use the xletview, the DVBTextLayoutManager doesn't show the text, so maybe is not well implemented. In my case for doing wrapping (and scrolling) i am using the MHPTester's ScrollableText class, if someone knows another way let me know, please!

claydos the libraries are in th MHP stub classes here: http://www.interactivetvweb.org/resources/code/index.shtml

Cavia at 2007-7-8 23:16:05 > top of Java-index,Java Mobility Forums,Consumer and Commerce...