×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    35

    take the text of command on left to centre in lwuit

    Hi all,

    can anybody tell how to take the text of command on left to centre in lwuit. For example my select command is displaying on left side. I can select with left and centre key both. but i want the user to select from only centre key. so i need to print the text on centre.

    thanks
    manish

  2. #2
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: take the text of command on left to centre in lwuit

    Try setThirdSoftButton

    public void setThirdSoftButton(boolean thirdSoftButton)
    Indicates whether the 3rd softbutton should be supported on this device

    This will give you Select on center key.
    Thanks,
    Ekta

  3. #3
    Registered User
    Join Date
    Jun 2009
    Posts
    35

    Re: take the text of command on left to centre in lwuit

    thanks ekta

  4. #4
    Registered User
    Join Date
    Jun 2009
    Posts
    35

    Re: take the text of command on left to centre in lwuit

    Hi all,

    select should come at centre only when the menu is open else it should not come at centre.

    urgent help is needed.

    thanks
    manish

Similar Threads

  1. Right-to-left languages with LWUIT
    By giaviv in forum Mobile Java General
    Replies: 3
    Last Post: 2010-09-28, 16:31
  2. how to add first command on right and others in left in LWUIT
    By Manish_Bansal in forum Mobile Java General
    Replies: 12
    Last Post: 2010-08-17, 06:51
  3. How to draw the text at the centre of a rectangle ?
    By nadis in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2009-07-22, 07:29
  4. text align - left ?
    By mikecotic in forum Mobile Java General
    Replies: 6
    Last Post: 2008-11-13, 21:38
  5. Displaying OK command directly on left softkey
    By simonru in forum Mobile Java General
    Replies: 5
    Last Post: 2005-09-07, 03:17

Posting Permissions

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