J2ME - Can a Form have Buttons?

Discussion in 'Java' started by Talal Itani, Feb 26, 2007.

  1. Talal Itani

    Talal Itani Guest

    Is it possible to place buttons on a Form? I tried to place little images
    to act as buttons, but some cell phones did not allow the images to gain
    focus. What is the way out?

    Thanks.
     
    Talal Itani, Feb 26, 2007
    #1
    1. Advertisements

  2. On cell phones, there's generally no concept of a button. That's why you
    have the Command class: it lets the handset define how the user interacts
    with the app in a platform-consistent manner.
     
    Darryl L. Pierce, Mar 5, 2007
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.