You have two ways: 1. Draw a button on the Canvas and override appropriate key event handler methods in Canvas class to handle click events. 2. If you are using MIDP v2, you can develop a CustomItem and use it with the rest of the high-level (Form-based) UI.
if you are using MIDP 2.0, you can create a String ITem of BUTTON type. it looks like a button on Sony Ericsson P900. I have a screenshot here http://www.benhui.net/feature/sep900_2.html cheers, ben
<a href="http://www.benhui.net" target="_blank" rel="nofollow">www.benhui.net</a> - mobile dev resources - j2me - bluetooth - midp 2.0 - review - links<p>Get Share Bill Buddy - Bill splitting (FAST!), Share trip expenses, Who Owe Me 3-in-1<br />Free trial on <a href="http://www.sklogicsoftware.com" target="_blank" rel="nofollow">www.sklogicsoftware.com</a><p>Get Travel Buddy - Itinerary, Tracker, Global Clock, Concurrency Convertor 4-in-1<br />Free version available at <a href="http://www.sklogicsoftware.com" target="_blank" rel="nofollow">www.sklogicsoftware.com</a>