Applet to Practice Addition Math Problems

On This Java Applet Program. I Got Stuck On The Part Where I Need To Display The Generated Value Of x and y like this and compute for the answer. Could Somebody Help Or Hint Me How To Code This Part, Please?

-----------------------
|Click to stop (btnStop)|
-----------------------
Note: When press the stop button after answered all (5) or (10) question. The Text Area Will show the result Of number correct or wrong , and the total time duration that user has taken the test.

Where will that output be displayed?
What does the user do when the program starts?
What does the program do after the user does something?

What problem are you having with the code? Do you get errors?

After the Answer was inputted and user click the Press for next question (btn). The program will auto computed and display whether the answer is Correct Or Wrong.
Simultaneously , The program also generate the two new random X and Y for next questions. After (5) or (10) question has been answered.
On The Final Click. Program will Display "DONE" in the Answer box (txtAns).
User can now click the Stop (btnStop). Program will display How long user has used to answered all those questions. And Display the Number of Correct and Wrong Answers in That Big Text Area box.

The Problem I'm having with this program is How To code and get it to display the rand x Value and rand y Value right after the Label: Question No.# : x + y =? [txtAns] Correct.

How To code and get it to display the rand x Value and rand y Value right after the Label: Question No.# : x + y =? [txtAns] Correct.

You need to work out a design of where on the frame you want to position the various components. Then find a layout manager that will position the components where you want them. You could use a JLabel to show the question in.