×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2010
    Posts
    5

    j2me textbox setString

    hi to all..

    i made an application that copies a string and put it on a textbox using setString,

    like textBox.setString(stringName);

    but the problem is, everytime i set a string it overwrites the previous string or data on the textBox..

    does anyone know how to make it append not overwrite?

    tnx a lot..

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: j2me textbox setString

    Code:
    textBox.setString(textBox.getString() + stringName);
    Graham.

Similar Threads

  1. J2me textbox and textfield at the same time. is it possible?
    By kemmal in forum Mobile Java General
    Replies: 2
    Last Post: 2010-04-21, 23:54
  2. j2me Add contacts through textbox crashes
    By amitkankani in forum Mobile Java General
    Replies: 4
    Last Post: 2008-03-31, 11:20
  3. TextField setString problem on n95 8G
    By Freudisme in forum Mobile Java General
    Replies: 3
    Last Post: 2008-02-22, 04:10
  4. TextBox problem in J2ME Polish
    By atiqe in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2007-06-14, 22:06
  5. Urgent help please - Ticker setString method on 6610
    By dug0ng in forum Mobile Java General
    Replies: 1
    Last Post: 2003-11-07, 10:56

Posting Permissions

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