Constructs a key navigator behavior that uses AWT listeners
and behavior posts rather than WakeupOnAWTEvent. The behavior
is added to the specified Component and works on the given
TransformGroup. A null component can be passed to specify
the behavior should use listeners. Components can then be added
to the behavior with the addListener(Component c) method.
Parameters: c - The component to add the KeyListener to. Parameters: targetTG - The target transform group. since: Java 3D 1.2.1
Adds this behavior as a KeyListener to the specified component.
This method can only be called if
the behavior was created with one of the constructors that takes
a Component as a parameter.
Parameters: c - The component to add the KeyListener to. exception: IllegalStateException - if the behavior was not createdas a listener since: Java 3D 1.2.1