Hi, Gianni! You have to send the focus to the Canvas3D (that's what you do when you click it to navigate). You can do it with the requestFocus method that Canvas3D inherits from awt.Component. You can call this method by a button you can add into the frame, after pressing enter in the TextField or any other user event. You can also transfer the focus among the components using the Tab key...
Regards, Fabr�cio -----Mensagem Original----- De: Gianni Riccio <[EMAIL PROTECTED]> Para: <[EMAIL PROTECTED]> Enviada em: Ter�a-feira, 27 de Novembro de 2001 15:40 Assunto: [JAVA3D] Keyboard problem! Hi all, I have my drawing in a frame where there is also a TextField.I can also click in this drawing to obtain a point. When I open this frame I would navigate directly with my keyboard to obtain the point, but the cursor is in the TextField and I must click in the drawing and then I can navigate. How can navigate directly without the first click? Thanks. Gianni _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com =========================================================================== 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".
