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

Assignment Help
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
With this declaration of m in subclass B, any invocation of m on a B object will result in a special error indicating that the method should not be used. (a) What eff
In this course, you are introduced to general Windows Server concepts like active directory, group policy, security, networking and IIS, access control, and much more. Now t
Write a Bag class with a generic type. Write a class such as item that has a name and price - Add objects of item to the bag and find the average and the total of the price of
Writer a program that allows the user to enter an unknown number of characters, stores those characters in a data structure (a vector) and then prints the values to the scre
A simple object-oriented GUI drawing editor that allows a user to create, move and erase rectangles, squares, circles and lines in an interactive graphics. How can I draw move
Identify the 5 code elements for a Password class. Things like: class, instance, and final variables, accessor and mutator method, public and private specifiers for methods an
write a comparator that compares point objects by their distance from the origin of (0,0). points that are closer to the origin are considered to come before those which are f
Create a console-based application named Multiplication whose main() method asks the user to input and then calls a method named MultiplicationTable(), which displays the re