-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am using the LabelOverlay class from the j3d.org code repository. I have
attached a screen shot. When I set the width of the LabelOverlay to 30 or so,
no text is displayed, but when I set it to 35, text is displayed, however the
text should fit into the smaller Label also.
Next point: When you look in the first pxel row, the Label is brighter then
the part where the text is. (Note: the secound LabelOverlay isn't set to be
so transparent then the first, this is no error.) Are these knowen bugs, or
what do I wrong? Here is the sourcecode:

test = new LabelOverlay(theCanvas,new Rectangle(0,0,1000,35));
test.setBackgroundColor(new Color(0,0,0,120));
test.setVisible(true);
viewTGrotY.addChild(test.getRoot());
test.initialize();

and here I set the text:

myEngine.test.setText(text);
myEngine.test.setVisibleLength(text.length());
myEngine.test.repaint();

Thanks,

- --
Andreas Bauer
[EMAIL PROTECTED]

May the penguin be with you!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE81tFgaHjQVZOZP3YRAileAKDM6giqbPubWs2iK2LP3Aooz6JN7wCfUi4+
H0x1a8fzjaJ8t9+ezlIOSGA=
=Nin4
-----END PGP SIGNATURE-----

<<attachment: screen1.jpg>>

Reply via email to