×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    80

    TextField questions

    user = new TextField("Your id:", "type here", 10, TextField.ANY);

    In the above code, I would like to make "Your id:" in bold, how can I do that?
    Also when user start typing, it should remove the string "type here" and user start inserting text, how can I do that?

  2. #2
    Nokia Developer Expert
    Join Date
    May 2012
    Location
    Espoo
    Posts
    224

    Re: TextField questions

    when user start typing, it should remove the string "type here" and user start inserting text, how can I do that?
    you can achieve this by using LWUIT TextArea.SetHint("tooltip text");

Similar Threads

  1. LWUIT TextField - Removing InputModeOrder Text "Abc" from TextField
    By vishal.vpb in forum Mobile Java General
    Replies: 1
    Last Post: 2011-11-14, 06:29
  2. validate a Textfield by comparing it to another Textfield
    By tmf81 in forum Mobile Java General
    Replies: 3
    Last Post: 2010-10-07, 08:01
  3. Replies: 1
    Last Post: 2008-08-28, 21:25
  4. TextField questions
    By Aresibo in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2008-06-04, 01:43
  5. CommandListener on TextField.NUMERIC || TextField.PASSWORD
    By lekkie in forum Mobile Java General
    Replies: 3
    Last Post: 2007-07-09, 13:42

Posting Permissions

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