HText and STB MHP
Hi, I'm trying this code
String miTexto = "Este es un texto bastante largo.\n" +
"El Text Layout Manager soporta varias lineas " +
"de\ntexto si est醤 separadas " +
"por un \\n";
Font miFuente = new Font("Tiresias",Font.PLAIN,35);
DVBTextLayoutManager manejador = new DVBTextLayoutManager();
HText miHTexto = new HText(miTexto,
miFuente,
Color.yellow,
Color.green,
manejador);
miHTexto.setBounds(80,40,500,200);
miHTexto.setVisible(true);
panel.add(miHTexto);
panel.setVisible(true); //panel is a container
scene.add(panel);
scene.add(this);
scene.setVisible(true);
But I don't see the green rectangle in the screen, I only see the text. In XletView I see the green rectangle and I don't see the text.
Any ideas?
Thanks

