cancel
Showing results for 
Search instead for 
Did you mean: 

How do you handle low-level key events in AWT?

Former Member
0 Kudos

Hi,

It's all fine and well to use AWT to construct a UI for your ME application, but how do you listen to key events e.g. for navigation, etc? I've done some searching on the web, but all the support for this kind of thing (like MIDP) seems to be for releases after 1.1. Anyone have a good solution for this?

Regards,

Martin Ceronio

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

After some more reading, I've come accross a MIDP GUI Programming article at http://developers.sun.com/techtopics/mobility/midp/articles/ui/. Of particular concern to me is the following statement:

"The AWT assumes certain user interaction models. The component set of the AWT is designed to work with a pointing device such as a mouse; however many handheld devices, such as cell phones, have only a keypad for user input."

While the device we plan to use has a pointing device (stylus), we want the users to be able to do without it, i.e. only use the keypad.