Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 1 of 1

Thread: How to get scores from user in Canvas J2ME?

  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question How to get scores from user in Canvas J2ME?

    Hi,
    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?
    Last edited by elenora; April 4th, 2011 at 05:02 AM.


Similar Threads

  1. j2me Problem with choicegroup
    By zero22hero in forum Java ME (Mobile Edition)
    Replies: 1
    Last Post: January 7th, 2011, 01:23 AM
  2. Arcade scores reset
    By JavaPF in forum The Cafe
    Replies: 1
    Last Post: July 3rd, 2010, 05:31 PM
  3. problem in j2me
    By Sunil Raghuvanshi in forum Java ME (Mobile Edition)
    Replies: 1
    Last Post: March 9th, 2010, 08:08 AM
  4. make textbox in canvas
    By mahdi in forum Java ME (Mobile Edition)
    Replies: 2
    Last Post: October 6th, 2009, 07:10 AM
  5. Runtime exception while developing J2ME mobile application with aspectJ
    By yousef atya in forum Java ME (Mobile Edition)
    Replies: 3
    Last Post: April 29th, 2009, 09:55 AM