Home Answers Viewqa JavaScriptQuestions Java Graphical user interface

 
 


Christina chong
Java Graphical user interface
0 Answer(s)      2 years and a month 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 Pages:
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
GUI Alternatives
, it isn't difficult to build a Graphical User Interface (GUI) in Java, but it is hard... your interface be in Java? You can use existing GUI technologies like Flash.... XML User Interface Language (XUL) Links (xul.sourceforge.net/links.html
User Interface Design
Java NotesUser Interface Design Links Sun's Java Look and Feel Design Guidelines (java.sun.com/products/jlf/ed2/book/ is an excellent place to start. AskTog - www.asktog.com User Interface Design for Programmers - Joel
Java: Rainfall user interface - Console
Java NotesRainfall user interface - Console 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22... - Condole user interface to RainfallStats // This separates the user interface
Java: Rainfall user interface - Dialog
Java NotesRainfall user interface - Dialog 1 2 3 4 5 6... 23 24 25 26 27 28 29 30 31 32 // Rainfall.java - User interface to RainfallStats // This separates the user interface from the "model
Example - Calc GUI
Java: Example - Calc GUI Example - Calc Main, Example - Calc GUI, Example - Calc Extensions This is the source for the graphical user interface of a simple calculator. It shows how a listener can be shared by many buttons, which
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.
interface.  Write short note on interface.   Please visit the following link: Java Interface
INTERFACE
INTERFACE  how interface support multiple inheritance in java
GUI - Swing vs. AWT
Java: GUI - Swing vs. AWT The original graphical user interface (GUI) for Java was called the Abstract Windowing Toolkit (AWT). Performance and extendability problems with AWT were resolved by introducing a new GUI interface, known
interface
interface  What is marker interface ?? what is its use in java programming?? is this us in programming ??Explain is implementation with code
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
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
interface
; Through interface, we can achieve the multiple inheritance. Java does...interface  What is the exact use of interface in real time scenario? some people says that interface provides multiple inheritance. Is it true
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      
interface
interface  sir/mam, pls tell me how interfaces reduce duplicasy in java.. atul
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
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
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
WindowTester Pro
offers cutting-edge technology for testing Swing and SWT Java graphical user... the most demanding user interface testing requirements and deliver reliable and consistent graphical user interfaces. Realize value over application lifespan
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
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
First Window
Java NotesExample - First Window This is about the simplest GUI (Graphical User Interface) window that you can make. The window is very small... to the class name including case, plus a .java extension. Main - The header for the main
ABSTRACTION AND INTERFACE - Java Interview Questions
ABSTRACTION AND INTERFACE  When Use Abstract?When Use Interface ?I... on the user specifications, we use interfaces where the common properties are declared but the implementation is done by the user. For more information, visit
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
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
TUM
TUM Tikal Update Manager is a YUM-like graphical user interface... for developers, offering profiles such as Java Development, Database Exploring... native update site support, mainly due to its interface friendliness, improved
Kilometers to Miles - User Interface Only
Java NotesExample - Kilometers to Miles - User Interface Only This program produces a user interface, but there is no listener for the button so..., output field // This is the user interface for the Km to Mi conversion
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
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
Web-CAT CxxTest Plug-in
Web-CAT CxxTest Plug-in       The CxxTest plug-in for Eclipse provides Eclipse users who are developing C++ code with a graphical user interface for CxxTest
Pizza Order Application
Pizza Order Application Here we have created an application using graphical user interface that will allow the user to order the Pizza. For the pizza...). The user should be able to pay the total cost of the ordered pizza
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
logfile interface
logfile interface  How to create logfile interface for programs in java
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
null interface
null interface   what is the null interface and what is the use of it in real java project ?   Hi Friend, A null interface is an interface... interface informs Java that objects of the implementing class can be serialized
Introduction to Map and SortedMap Interface
Introduction to Map and SortedMap Interface       Map Interface: A Map is an object that maps keys to values. It is not an extension of the collection interface
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
Abstract and Interface
Interface and Abstract Class 1)Main difference is methods of a Java interface... declared in a Java interface is by default final. An abstract class may contain non-final variables. 3)Members of a Java interface are public by default. A Java
marked interface
marked interface  how jvm work with marked interface?(that means how it will know its behaviour with out any methods)   Hi, Learn it at Market Interface in Java tutorial page. Thanks

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.