Hello,
I have developped an applet that creates a coordinate system with axis
labels some weeks ago. After this I have installed everything new on my
computer also the Java3D package.
Now my applet has problems with the Text2D labels.
BranchGroup LabelGroup = new BranchGroup();
_xAxisLabelSwitch = new Switch();
_xAxisLabelSwitch.setCapability(Switch.ALLOW_SWITCH_WRITE);
_xAxisLabelSwitch.setWhichChild(Switch.CHILD_ALL);
for (i=1,j=0; i < getXticks(); i++,j++) {
vector.set( getXmin()+(getXstep()*i), getYmin(),
getZmax()+_majorTickLength);
_location.setTranslation(vector);
TG = new TransformGroup(_location);
TG.addChild(new Text2D("5", new Color3f(1f, 1f, 1f), "Sans", 70,
Font.BOLD));
_xAxisLabelSwitch.addChild(TG);
}
LabelGroup.addChild(_xAxisLabelSwitch);
When I add a sphere instead everything works fine.
Now the applet hangs, so you can not access something on the applet.
Has anybody observed the same?
with regards
Frank Oellien
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".