PRG 421 Week 1 ( VERSION 10 )
Tutorial Includes
DQ1 What is an event? How are events and graphical user interfaces (GUIs) related? Provide an example of an event and relate it to a GUI
DQ2 How are containers used in the Java® language? Write a small program in which you add components to a container. Then post the code for your program.
DQ3 What do you feel are the advantages and disadvantages to using Swing versus AWT?
FUNDRAISER PROGRAM
A city is sponsoring a run to support local charities and would like an application to track the pledges. The result will be a database that holds data on individuals, total pledges obtained, and the charity for which the donation is designated.
Design and implement a GUI-based program to accept a participant’s name, the amount pledged, and the designated charity’s name. The program will store these data for later retrieval. The project will be completed in several stages, with the first deliverable due in Week Two.
HELLO WORLD PROGRAM
Design, implement, test, and debug a GUI-based version of a “Hello, World!” program.
Create a JFrame that includes a JLabel that reads “Hello, World!” Use a layout manager of your choice.
Include an Exit button to close the program.
No comments:
Post a Comment