Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Program help

807598Dec 8 2005 — edited Nov 13 2006
Computers are playing an increasing role in education. Write an applet that will help an elementary school student learn multiplication. Use Math.random to produce two one-digit integers. It should then display a question in the status bar such as
"How much is 6 times 7?"

The student then types the answer into a JTextfield . Your program checks the student?s answer. If it is correct, draw the string ?Very good!? on the applet, then ask another multiplication question. If the answer is wrong, draw the string ?No. Please try again.? on the applet, then let the student try the same question again repeatedly until the student finally gets it right. A separate method should be used to generate each new question. This method should be called once when the applet begins execution and each time the user answers the question correctly.



I'd really appreciate it if someone can write the basic layout for me excluding all details, just the skeleton of the program basically.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 11 2006
Added on Dec 8 2005
7 comments
187 views