Java Reference
In-Depth Information
setPosition(passvalueTrans, new Point3f(0.09f-0.03f*(passdigit-1), -0.055f, 0.011f));
passvalueTrans.addChild(passtext);
passCurvebranch.addChild(passvalueTrans);
passCurvebranchParent.addChild(passCurvebranch);
wakeupOn(mouseandpostidCriterion);
}
// Processing the action for opening or closing the door --------
if (eventId == DOOROPEN)
{
doorcontrol.setQuat(0, quats[0]);
doorcontrol.setQuat(1, quats[1]);
startTime = System.currentTimeMillis();
doorAlpha.setStartTime(startTime);
dooropen = true;
wakeupOn(mouseandpostidCriterion);
}
else if (eventId == DOORCLOSE)
{
doorcontrol.setQuat(0, quats[1]);
doorcontrol.setQuat(1, quats[0]);
startTime = System.currentTimeMillis();
doorAlpha.setStartTime(startTime);
dooropen = false;
wakeupOn(mouseandpostidCriterion);
}
// Processing the mark for animating or interacting --------
if (eventId == ANIMATION)
{
animating = true;
wakeupOn(mouseandpostidCriterion);
}
else if (eventId == INTERACTION)
{
animating = false;
wakeupOn(mouseandpostidCriterion);
}
// Processing the disconnection --------
if (eventId == DISCONN)
{
closeAll();
wakeupOn(mouseandpostidCriterion);
}
if (counter==1)
{
panel.Connection.setForeground(Color.red);
panel.Connection.setText(„Wait ....“);
}
else if (counter==COUNTER)
Search WWH ::




Custom Search