Share on Google+Share on Google+

Christina chong
Java Graphical user interface
0 Answer(s)      5 years and 11 months ago
Posted in : JavaScript Questions

Hi, guys. I'm christina, need help with my home work

Task 1: GUI Design and Implementation

The user requirements of your Java quiz GUI application are specified by the following program flow in two stages.

Stage 1 ‚?? Registration Screen:

Fig 1 is the screen of the GUI in first stage. Your program window should be located at the centre of the screen when it starts. It provides an interface to register the student name. In this screen, there should be one tool bar at the top containing a ‚??Score‚?? button, an ‚??Exit‚?? button and an area for student name registration. There should be sufficient space between buttons and the registration area. The registration area should contain a label to guide student to input the name in a text field, a text field to input the name and a ‚??Register‚?? button. All of them should locate closely to indicate they are in a group to serve one purpose.

Before the name is typed into the name field, a dialog box should pop up to remind the registration if the ‚??Score‚?? button or ‚??Register‚?? button is pressed, or a return key is pressed in the text field, as shown in the Fig 1. The dialog box should have the same Look and Feel as the main frame.

After the student name is typed into the text field and a return key is pressed or the register button is pressed, the program should progress to the next stage.

At any stages, if the exit button is pressed, the program should exit.

Fig 1: First stage screen shot

Stage 2 ‚?? Question Screen:

Fig 2 is the screen of the GUI in second stage for true and false questions. It presents the questions to users and receives the user answer. In this screen, the registration area in the tool bar should be disabled to prevent any modification to the student name. It should contain an area to present question and an area to receive the answer. Radio buttons should be used for answer selection and the selection should be exclusive. (Only one answer can be selected.) At the bottom of the screen, there should be a ‚??Next‚?? button to proceed to the next question. (If no answer is selected before pressing the ‚??Next‚?? button, it should be considered as a wrong answer.) In this stage, if the score button is pressed, the current score should be displayed in a dialog box. The layout requirement is specified in Fig 2.

Fig 2: Second stage screen shot of True and False Questions

Fig 3 shows the screen for the last question where the ‚??Next‚?? button should change to the ‚??Get Score‚?? button. When the ‚??Get Score‚?? button is pressed, the program should progress to the next stage.

Get Score Button

Fig 3: The screen shot of the last question in the second stage

Fig 4 is the screen in third stage for the score presentation. It should present the final score with the student name. It should contain an ‚??Exit‚?? button. It should not contain the tool bar in previous stages.

In this stage, you can design any layout you like as long as you meet the above requirements.

Fig 4: screen shot for the final score presentation

For this assignment, you should submit all your programs including the Java quiz GUI application, and question file. Basically all files that required to run your program.


View Answers

Related Tutorials/Questions & Answers:
Java Graphical user interface
Java Graphical user interface  Hi, guys. I'm christina, need help with my home work Task 1: GUI Design and Implementation The user requirements of your Java quiz GUI application are specified by the following program flow
graphical user interface - Java Beginners
graphical user interface  how do i write a code for a jmenu bar, File with items like open, save , save as. that lead to another interface? .../java/example/java/swing/SwingMenu.shtml Thanks
graphical user interface - Java Beginners
graphical user interface  write a java program to display Employee details with a border heading,name,phone number, street,city,then on the other side Right text area for address, under it sex with a border title then radio
graphical user interface - Java Beginners
graphical user interface  Hi, could u please tell me whats wrong with the code below. tried compiling but it gives me 2 errors. class or interface expected.thx import javax.swing.*; import java.awt.event.*; import
graphical user interface - Java Beginners
graphical user interface  Help me write a code for this please Thank you. tried adjusting the previous one and got errors. Employee Details as Title Name (Text Field) Address (Text Area) Phone
graphical user interface - Design concepts & design patterns
graphical user interface  Hi sir, could you help me in the designing and implementation of an election system graphical user interface please .any examples or suggestions will be highly appreciated .thank you
Graphical User Interfaces
; for graphical user interface design. The implementation of the user interface... be preserved.  AWT Basics The superclass of all graphical user interface objects... a Graphical User Interface (GUI). Moreover containers can be nested arbitrarily
User Interface Toolkits
User Interface Toolkits User Interface Toolkits / Libraries are given below... For creating application specifically for handicapped persons Java Accessibility... of java. Sound This API is used for sound capturing, processing, play back audio
JList box java
JList box java We are going to describe JList box java. First of all we have created JList component of Swing. List is a component of GUI() Graphical User Interface. It allows the multiple items in a list and In this class extend
Ajax user interface - Ajax
Ajax user interface  hello could anyone help my requirement is to design the database interaction using AJAX my requirement is a table will be displayed with checkbox as its first column when we select the checkbox
Java Swing
Java programs with a graphical user interface (GUI). There are many components... the basic user interface such as customizable painting, event handling, drag and drop... Java Swing      
Java Swing
for weak and inflexible AWT controls for providing more sophisticated graphical user interface (GUI) components for Java programs. Swings are lightweight and 100... Java Swing       Swing
Graphical calculator using AWT - Java Beginners
Graphical calculator using AWT  hi Sir, I need a source code for the following prgm...pls help me.. Implement a simple graphical calculator using...://
Graphical calculator using AWT - Java Beginners
Graphical calculator using AWT  Hi Sir, Thanks for the reply.....and is it the same code we need implement on Graphical Calc using Swing? Here is the prg code...:// Amardeep
Java interface
Java interface  What is the List interface
Java interface
Java interface  What modifiers may be used with an interface declaration
Java Interface
Java Interface  Can an Interface have an inner class?  Yes, interface can have inner class. for example- public interface gyan { static...("in interface"); }; public static void main(String args
Java interface
Java interface  What must a class do to implement an interface?  It must provide all of the methods in the interface and identify the interface in its implements clause
How to save user interface in flex for design tool
How to save user interface in flex for design tool  Hi I want to create a flex application "sticker design tool" in which i want to save all... user want to re-customize it later on then he can able to re-customize it. please
java interface
java interface  Create a interface called student Define methods like get roll number Get name Get subject Create two classes Electronic student And history student Enter 5 students in the main class 2 of history and 3 elec
Interface in java
Interface in java  An Interface method implemented in more than one different class with same method name. To avoid overriding of methods, we use ObjectReference for that class
Linux as a Command Line Interface (CLI) Vs. Graphics User Interface (GUI).
a command line interface (CLI) to the operating system, while graphical shells provide a graphical user interface (GUI). A graphical user interface (GUI) is a human...Linux as a Command Line Interface (CLI) Vs. Graphics User Interface (GUI
Marker Interface,Java Marker Interface
Interface in Java       In this section we will learn about Interface and Marker Interfaces in Java... is also the interface's example. But in java programming language interface is nothing
Interface - Java Beginners
Interface in Core Java  What is Interface? How Can i Use Interface in Core Java
Java cloneable interface
Java cloneable interface  What is cloneable interface
Java interface reference
Java interface reference  When can an object reference be cast to an interface reference
Java Interface
Java Interface In this section we will discuss about the interface in Java... interfaces. Interface in Java is created for referencing something to other. To create an interface in Java the keyword "interface" is used
interface - Java Beginners
interface  how to build interface in java programming language
Java Serializalble interface
Java Serializalble interface  What is the difference between Serializalble and Externalizable interface
MySQL User Interface
MySQL User Interface      ...;: You can add function with the help of UDF (user defined function) interface... installed user-defined function, but if in upgrade version UDF interface
interface variables - Java Beginners
interface variables  why interface variable is by default final? what was the necessisity to make it final? plz explain me with good java prog
Java Spring Hibernate Struts Training code for programming How can I dynamically load user-entered data as content of jquery dialog? java webcam integration question java coding Fix Scrollbar position in a checkboxList after postback Information Save Alert Country wise redirection to files Interface in javascript connect database with javascript Zip Code ZipCode how to validate the email login How to play FLV video files on Ipad using HTML code or javascript code? Nitobi Grid is not working in IE10/IE11 jquery issue plese help RegEx Tree structure from json whose parents can be dragged and dropped from child newyorklife insurance getElementById not working javascript code for search in html file Implement The Skeleton Code Implement This Skeleton Code Mobile Automation using Appium Computer forensic application Java: Searching a string from doc files java linked list urgent !!! java linked list urgent!!! library management library management library management library management question Html form using JavaScript to display the table content java how to prevent no from unroundin off on clicking text box again in JSP and Jquery graph generation from xml design file display data from database in textbox when id entered in textbox Javascript Code for all fields how to get HTTP GET request value using javascript array Javascript Querry autocomplete(): Spring mvc with jquery: I am not getting correct value in the text filed. Please help me Create SpreadSheet same as excel using java applet Create SpreadSheet same as excel using java applet How to change focus among multiple select boxes? Write JQUERY Code Write JQUERY Code Converting jsp variable to java variable java


Advertisement null