I've seen a posting back in May about a possible bug in either the
Text2D class or the Texture2D class, but I couldn't find any resolution
on the problem.
Now I've hit the problem too and I'm thinking that it's a bug.
The problem is I get an "illegal image size" exception when I try to
call setString() on a Text2D object.  I'm guessing that it's trying to
create an image that's not a power of 2.
I've attached a sample program that demonstrates the problem.  If you
click on the image, the text should alternate between "Java" and "3D",
but it throws the exception after the first click.
Please check it out.
Thanks.
 -Roy

Attachment: Text2dTest.java
Description: application/unknown-content-type-java_auto_file

Reply via email to