PDA

View Full Version : use GUI application to be used to test Kindergarden children on the alphabet (‘A’-‘Z


funjoke88
03-29-2010, 02:46 PM
The application will ask questions like:

What comes after D?

A child is expected to answer the question and the application will inform the child if the answer is correct or wrong. The application will ask a total of 20 questions. After all 20 questions have been answered, the application will display a score (from 0 to 20) to inform the child how many questions he or she answered correctly. The application will also list all the letters that were asked.

The letters tested are from ‘A’ up to ‘Y’. Do not include the letter ‘Z’. The letters are selected randomly. No letters are to be repeated, that is, each letter is only asked once in the 20 questions.

Note: The java.util.Random class can be used to generate random numbers. For example, the following statements may be used to generate a random number from 0 to 4 inclusive:

Random generator = new Random();
int number = generator.nextInt(5);


i have work out with the array part and now i am stuck with the gui application part ,can anybody help ?

surreal5335
04-05-2010, 11:14 PM
You will get a lot more responses from people when you have some code to show that:

a. you have done some work yourself
b. gives them somewhere to start.

This forum is meant for helping people debug code they already have.

A great place to go and see more on GUI's is: here (http://www.youtube.com/view_play_list?p=FE2CE09D83EE3E28&sort_field=original&page=4)

You will find a wealth of video tutorials discussing GUI's