Martin,

Perhaps you could have your Java application make the modification to
Linux directly?

Or perhaps as a clumsy work around use a timer and ignore any KeyRelease
that occurs if it is immediately followed by a "KeyPress".

This seems like strange behavior for Linux as it defeats the whole
concept of distinguishing between "KeyTyped" and "KeyPress/KeyRelease".
Do you know if this is unique to Debian Linux? (I've not noticed it with
Caldera or RedHat)

- John Wright
Starfire Research

Martin wrote:
>
> I posted the post below earlier and wanted to give up an update!
>
> I have solved... kind off... what was causing the KeyRelease... It's the
> KeyRepeat mechanisum of my OS (Debian-Linux).  I changed the setting and the
> release stopped!
>
> Anyone know of a way to Override this directly via my Program? Having all
> users change this setting is going to impact  any planned Distribution of my
> software so I need to find someway of automaticaly dealing with this
> Directly.
>
> Cheers... Martin.
>
> > Hi.
> > I'm having a problem and need some help or advise.
> >
> > Ive created a scene that uses two Behaviors. One that uses a
> > WakeupOnElapsedFrames criterion triggered by an Alpha object and another
> > that uses two WakeupOnAWTEvent criterion, KeyEvent.KEY_PRESSED &
> > KeyEvent.KEY_RELEASED.
> >
> > I'm changing the state of a boolean variable with the KeyEvents Behavior
> > and the Alpha triggerd Behavior perform the actual animation depending on
> > boolean state.
> >
> > My problem is that my KEY_PRESSED event is automaticaly performing a
> > KEY_RELEASE after about a second resetting my boolean variable, dispite the
> > fact me fingers still on key?
> >
> > Is there a way to cancel out the autorelease? Or is it an OS thing? (Ive
> > just changed over to Linux from Win2K and am not 100% sure on my system
> > syability)
> >
> > Martin.
>
> ===========================================================================
> 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".

===========================================================================
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".

Reply via email to