1) Develop a Java applet that will help an elementary school student learn multiplication. Use the [url removed, login to view] method or a Random object to produce two positive one-digit integers. The program should then display a question, such as:
How much is 6 times 7?
This question can be posted anywhere on the applet window you want. You can easily have it go to the status line at the bottom via the showStatus method.
The student they types the answer into a JTextField. Next the program checks the student's answer. If the answer is correct, draw the string "Very good!" on the applet and ask another multiplication question. If the answer is wrong, draw the string "No. Please try again." on the applet and let the student try the same question 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. All drawing on the applet should be performed by the paint method (usually indirectly through the repaint method).