Write a java windowed application
Course:- JAVA Programming
Reference No.:- EM13348

Assignment Help
Expertsmind Rated 4.9 / 5 based on 47215 reviews.
Review Site
Assignment Help >> JAVA Programming

The program randomly generates the quiz question one by one from a set of available questions on general knowledge and corresponding answers including the correct answers. To do the quiz, the user sets the timer off, answers the quiz question one by one. Upon clicking the ‘Stop' button, the program automatically marks the quiz and displays your points and the time taken to complete the quiz.

The GUI components beginning from the top to the bottom include:

• A top panel that contains a label for the title of the application.
• A middle panel with the BorderLayout that is divided into five areas:


1740_Write a Java windowed application.png

- On the north area, a panel holds a label to display the actual time when the quiz starts. (Initially it is set as "Display Time")

- On the west area, it is a panel held labels and buttons to represent the answers of a quiz question. Initially, the text on these answer buttons are blank. Once the ‘Start' button is clicked, the possible answers will be displayed on the buttons.

- On the center area, it is a text area to display the question generated randomly.

- On the east area, it will display the quiz result; and

- On the south area, it accommodates five buttons - Start, Next, Stop, Clear and Exit button.

Put your comment

Ask Question & Get Answers from Experts
Browse some more (JAVA Programming) Materials
Develop a program that plays "Five Card Stud". The user plays agains the computer. The program will "deal" five cards to the user and itself. Whoever has the highest hand wi
"The fourth array set is named fourthArrayName and was created by calling Method intersectionOfSets on the first two sets. It represents this set of numbers: { value1, value
Create a Java application named DistanceCalculator.java to solve the following problem. An application is needed to allow a user to enter two cities and display the distances
Write a Java program that prints all real solutions to the quadratic equation ax^2 + bx + c = 0. Read in a, b, c and use the quadratic formula. If the discriminant (b^2 - 4a
Use employee data file called employees.txt should comprise at least 5 employee records. Each record stores employee ID number (six digits) last name, first name, middle ini
A set is like a bag, except that a set does not allow multiple copies of any element. If you try to insert a new copy of an item that is already present in a set, then the s
The second programming project involves writing a program to calculate state income tax for a single taxpayer that uses a GUI. The GUI should use the grid layout manager and
Write a Java program called SalesInfoMiner that reads in a file of products, stored in text format. The program must then read in information about past sales transactions