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 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
Advertisements
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... to create a Graphical User Interface (GUI). Moreover containers can be nested... Graphical User Interfaces      
User Interface Toolkits
User Interface Toolkits User Interface Toolkits / Libraries are given below... application specifically for handicapped persons Java Accessibility API can be used...({}); This API enable us to print on all platforms of java. Sound This API is used
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
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  What is the List interface
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...://www.roseindia.net/java
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
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...://www.roseindia.net/java/ Amardeep
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
Java interface
Java interface  What modifiers may be used with an interface declaration
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
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
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
Marker Interface,Java Marker Interface
Interface in Java       In this section we will learn about Interface and Marker Interfaces in Java.... Electric switch is also the interface's example. But in java programming language
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
interface.
interface.  Write short note on interface.   Please visit the following link: Java Interface
Java interface reference
Java interface reference  When can an object reference be cast to an interface reference
Java Serializalble interface
Java Serializalble interface  What is the difference between Serializalble and Externalizable interface
interface - Java Beginners
interface  how to build interface in java programming language
Interface in Java
Interface in Java Interface in java programming languages is a collection... oriented concept. Through interface only abstraction is achieved in java. Syntax... is achieved in  Java. In an interface, only abstract method can be declared
Java Interface
Java Interface In this section we will discuss about the interface in Java... or more than one interfaces. Interface in Java is created for referencing something to other. To create an interface in Java the keyword "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
interface - Java Beginners
interface  what is an interface? when we will we use an interface in java? what will achived using interface?  Hi friend, Interface : An interface is a named collection of method definitions (without
Graphic interface java help
Graphic interface java help  A modified checkers program with class name Checkers using double buffering. Somehow the program must have two top.... The checkers must stop moving whenever the user clicks and holds down the mouse
INTERFACE
INTERFACE  how interface support multiple inheritance in java
MySQL User Interface
MySQL User Interface      ...;: You can add function with the help of UDF (user defined function) interface... defined function Interface   MySQL user-defined function  interface
Java itrator interface
Java itrator interface  What is an Iterator interface?  An iterator over a collection. Iterator takes the place of Enumeration in the Java.... The iterator interface have these methods- boolean hasNext(); Object next
interface
interface  what the use of interface?   An interface is one... variables.Any class can implement(inherit)the interface and make use of the methods(functions) and variables within it. In java, multiple inheritance
interface
interface   what is the use of marking interface
interface
interface  What is marker interface ?? what is its use in java programming?? is this us in programming ??Explain is implementation with code
Interface - Java Interview Questions
Interface  Respected sir why we use Interface in java? because we... the interface's example. But in java programming language interface is nothing... a new interface, you are defining a new reference data type. You can use
INTERFACE - Java Interview Questions
INTERFACE  Why Use Interface in Java?i want region ?plz post answer   Hi Friend, Interfaces form a contract between the class... the methods of the interface are implemented with the correct signature.Interfaces
Abstract class and interface in Java
Abstract class and interface in Java  What is the difference between abstract class and interfaces in Java?   Differences between an interface and an abstract class: At the same time multiple interfaces can
interface - Java Beginners
Interface meaning in java  What is the meaning of Interface? and why we need to call
Interface in Java
Interface in Java       In this section we will learn about Interface and Marker Interfaces in Java.... Electric switch is also the interface's example. But in java programming language
interface
interface  why do we need interface in java..if it`s usefull for to obtain multiple inheritance in the sense how it gonna be achieved...and i can...)...the y we need interface...THis is question often i heard from my developer
interface - Java Beginners
interface  I need the complete program for Design of java interface for Stack ADT and implement the same using array and linked list in java. Kindly send it as soon as possible. SOme of your solutions are not accessible
Interface
for Interface in java? and want to know why they used interface instead of multiple inheritance? Thanks in advance   An interface is one which has abstract... method it will take.It creates complexity.Therefore java uses Interface
about interface - Java Beginners
of the given line Set si=new HashSet(); Problem is that Set is an interface and HashSet is a class... so how instantiation of interface is possible..or..what...://www.roseindia.net/java
can interface solve this problem in java
can interface solve this problem in java  I have a JDialog which.... Now i need to get which day is clicked by the user from another class which calls this calander class. can interface solve this problem. If yes then how. pls

Ads