Reputation: 31
I had this code in LWUIT, but now that I've migrated to CodeNameOne the Canvas class not have the constants KEY_NUM1, KEY_NUM2, etc. And I can't add the Key Listener.
form.addKeyListener (Canvas.KEY_NUM1, bListener);
Where can I find these constants in CodeNameOne?
Upvotes: 2
Views: 307