×

Discussion Board

Results 1 to 2 of 2

Thread: LWUIT ComboBox

  1. #1
    Regular Contributor
    Join Date
    Jan 2010
    Posts
    52

    LWUIT ComboBox

    Hey guys,

    I have a MIDlet that uses LWUIT for its graphics.
    I have a ComboBox displayed on my form.
    When the user wants to change the value in the ComboBox, he presses on it. Then the ComboBox expands and shows all the options,
    but also 2 commands appear - "select" and "cancel".
    How can I change these commands texts to lets say "OK" and "back"?

    Thanks!

  2. #2
    Registered User
    Join Date
    May 2010
    Posts
    10

    Re: LWUIT ComboBox

    Hi giaviv,
    You have to create a resource file. In resource file create locale.
    In locale create a key "Select" and in value make it "OK".Do the same with "Cancel".

    But doing this you will be making all select command appear as "OK".
    Will this works for you ? If not thna let me know.

    Thanks,
    Rollno1

Similar Threads

  1. LWUIT ComboBox
    By giaviv in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2010-05-23, 10:41
  2. Lwuit UI synchroniztion
    By ingsaurabh in forum Mobile Java General
    Replies: 2
    Last Post: 2010-05-07, 11:53
  3. Replies: 0
    Last Post: 2010-04-20, 12:25
  4. LCDUI Alert on an LWUIT Form
    By slugger_2003 in forum Mobile Java General
    Replies: 0
    Last Post: 2010-04-18, 13:01
  5. lwuit and j2me
    By Arunesh in forum Mobile Java General
    Replies: 16
    Last Post: 2009-09-12, 15:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×