How to get scores from user in Canvas J2ME?
I’m using a Perst database in my program and I have saved some titles in it, I implemented some codes the can read the titles from DB, and shows them on a Canvas like a list. I have drown rectangles near each titles and a border rectangle on a rectangle which user can types on it and it can moves with Canvas.Down and Canvas.Up, now my problem is getting input from user and show it on the rectangle, each title has a score that user must write it on the rectangle near each title! In each time number of titles are variables so I think, I can’t use switch, case to get input because I think we must use it for constant things! Could anyone help me please how can I get scores from user and show it on the correspondent rectangle?