-
keyDown event help
i can only get the applet to register the key presses if the
cursor is in a text box area, how do i get it so that it will when it is
out of the text box area??
thanks
-
Re: keyDown event help
sounds like you only have the KeyListener registered on the TextArea control.
you need to register the listener for each component that will respond to
the KeyListener.
"Jedi276" <Jedi276@hotmail.com> wrote:
>
>i can only get the applet to register the key presses if the
>cursor is in a text box area, how do i get it so that it will when it is
>out of the text box area??
>
>thanks
-
Re: keyDown event help
what would be the code to do that?
"mike m" <michaelm@saccapital.com> wrote:
>
>sounds like you only have the KeyListener registered on the TextArea control.
> you need to register the listener for each component that will respond
to
>the KeyListener.
>
>
>"Jedi276" <Jedi276@hotmail.com> wrote:
>>
>>i can only get the applet to register the key presses if the
>>cursor is in a text box area, how do i get it so that it will when it is
>>out of the text box area??
>>
>>thanks
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks