Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

j2me - RMS & appending textfield

 
mabel foo
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey guys, i have a problem and i hope there's a way to doing it. i have a function that appends textfield to a form.

In this function:
1. If the rms database is empty, it will show empty textfield.
2. Else, it will display a string in the textfield.
3. And after if-else, it will append the textfield to the form.

The user will click a button to do the function, and each time the button is clicked, the textfield is appended to the form. this causes repetitive textfields, but it suppose to have only 1 with the updated rms data.

how do you solve the problem of the repeating patterns of textfield? please help me!!!
it's very important!
THANKS!!! (:
 
mabel foo
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i've settled it. sorry! it'll help if someone knows how to delete post. thanks
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!