It's not a bug.

You must use the setFocusTraversalKeysEnabled() method to disabled focus traversal.
E.g:


import java.awt.*;
import java.awt.event.*;

public class Test {
        public static void main(String [] args)         {
                Frame frame = new Frame();
                frame.setSize(100,100);
                frame.addKeyListener(
                        new KeyAdapter()
                        {
                                public void keyPressed(KeyEvent e)
                                {
                                        System.out.println(e);
                                }
                        }
                );
                frame.setFocusTraversalKeysEnabled(false);
                frame.setVisible(true);
        }
}



Hope this helps!

/Patrik

 -----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:   den 21 
augusti 2002 18:35
To:     [EMAIL PROTECTED]
Subject:        [JAVA3D] JDK 1.4.0 (a little bit off topic)

Hi there,

has anybody noticed that the usual keylistener doesn't get any TAB key
events when using Java 1.4.0? Is this yet another bug or a new default
behavior?

Cheers,
Karsten

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