I'm having a problem with the behaviors that use the WakeupOnElapsedTime
criteria.  They start off running fine, but if I merely
behavior.setEnable(false) and then behavior.setEnable(true) later on, the
behavior is never woken up again.  Am I doing something wrong?

Here's some sample code.  The timer behavior prints "I'm Awake" once a
second.  Pressing the button disables the timer behavior and the rotation of
the square on the screen.  Pressing the button again should enable both
behaviors, but for some reason only the rotation behavior is enabled.

(I'm using JDK 1.3 Java3D 1.2 FCS)

TestBed2.java

Reply via email to