SlideShare a Scribd company logo
PRG/421 Java Programming II - Week 1



DISCUSSION QUESTION # 1

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.

DISCUSSION QUESTION # 2

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.

DISCUSSION QUESTION # 3

What do you feel are the advantages and disadvantages to using Swing versus AWT?



LEARNING TEAM

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.



INDIVIDUAL ASSIGNMENT

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.


CLICK HERE TO GET THE SOLUTION !!!!!!!!

More Related Content

Similar to PRG/421 Week 1

PRG 421 Entire Course
PRG 421 Entire CoursePRG 421 Entire Course
PRG 421 Entire CourseDR Dean Jame
 
GDSC USeP - Infosession 2023.pptx
GDSC USeP - Infosession 2023.pptxGDSC USeP - Infosession 2023.pptx
GDSC USeP - Infosession 2023.pptxjrmaldeza00117
 
Android Application Engineering Presentation
Android Application Engineering PresentationAndroid Application Engineering Presentation
Android Application Engineering Presentation19btc037
 
The Complete React Native App Development Journey.pdf
The Complete React Native App Development Journey.pdfThe Complete React Native App Development Journey.pdf
The Complete React Native App Development Journey.pdfCollegewebbuilders3
 
A Complete Guide On React Native App Development.pdf
A Complete Guide On React Native App Development.pdfA Complete Guide On React Native App Development.pdf
A Complete Guide On React Native App Development.pdfWDP Technologies
 
venkataSaiKarteek.Nerella_ResumeNew
venkataSaiKarteek.Nerella_ResumeNewvenkataSaiKarteek.Nerella_ResumeNew
venkataSaiKarteek.Nerella_ResumeNewkarteek nerella
 
GDSC FY Orientation.pptx
GDSC FY Orientation.pptxGDSC FY Orientation.pptx
GDSC FY Orientation.pptxGDSCVJTI
 
Prg 421 entire course
Prg 421 entire coursePrg 421 entire course
Prg 421 entire coursePRG421
 
Prg 421 entire course
Prg 421 entire coursePrg 421 entire course
Prg 421 entire courseACC421
 
React Native for React Developers v.2.0.pdf
React Native for React Developers v.2.0.pdfReact Native for React Developers v.2.0.pdf
React Native for React Developers v.2.0.pdfNikolaGorgiev
 
App Development Made Easy Why React Native Should Be Your Top Pick.pdf
App Development Made Easy Why React Native Should Be Your Top Pick.pdfApp Development Made Easy Why React Native Should Be Your Top Pick.pdf
App Development Made Easy Why React Native Should Be Your Top Pick.pdfVrinsoft Technology
 

Similar to PRG/421 Week 1 (20)

Resume
ResumeResume
Resume
 
Naresh Chirra
Naresh ChirraNaresh Chirra
Naresh Chirra
 
Srinivasa Varada(1)
Srinivasa Varada(1)Srinivasa Varada(1)
Srinivasa Varada(1)
 
PRG 421 Entire Course
PRG 421 Entire CoursePRG 421 Entire Course
PRG 421 Entire Course
 
GDSC USeP - Infosession 2023.pptx
GDSC USeP - Infosession 2023.pptxGDSC USeP - Infosession 2023.pptx
GDSC USeP - Infosession 2023.pptx
 
Jeevan_Resume
Jeevan_ResumeJeevan_Resume
Jeevan_Resume
 
Android Application Engineering Presentation
Android Application Engineering PresentationAndroid Application Engineering Presentation
Android Application Engineering Presentation
 
The Complete React Native App Development Journey.pdf
The Complete React Native App Development Journey.pdfThe Complete React Native App Development Journey.pdf
The Complete React Native App Development Journey.pdf
 
A Complete Guide On React Native App Development.pdf
A Complete Guide On React Native App Development.pdfA Complete Guide On React Native App Development.pdf
A Complete Guide On React Native App Development.pdf
 
Gaurav agarwal
Gaurav agarwalGaurav agarwal
Gaurav agarwal
 
venkataSaiKarteek.Nerella_ResumeNew
venkataSaiKarteek.Nerella_ResumeNewvenkataSaiKarteek.Nerella_ResumeNew
venkataSaiKarteek.Nerella_ResumeNew
 
Report1.docx
Report1.docxReport1.docx
Report1.docx
 
GDSC FY Orientation.pptx
GDSC FY Orientation.pptxGDSC FY Orientation.pptx
GDSC FY Orientation.pptx
 
Presentation
PresentationPresentation
Presentation
 
Sumeet cv
Sumeet cvSumeet cv
Sumeet cv
 
Resume
ResumeResume
Resume
 
Prg 421 entire course
Prg 421 entire coursePrg 421 entire course
Prg 421 entire course
 
Prg 421 entire course
Prg 421 entire coursePrg 421 entire course
Prg 421 entire course
 
React Native for React Developers v.2.0.pdf
React Native for React Developers v.2.0.pdfReact Native for React Developers v.2.0.pdf
React Native for React Developers v.2.0.pdf
 
App Development Made Easy Why React Native Should Be Your Top Pick.pdf
App Development Made Easy Why React Native Should Be Your Top Pick.pdfApp Development Made Easy Why React Native Should Be Your Top Pick.pdf
App Development Made Easy Why React Native Should Be Your Top Pick.pdf
 

More from ashhadiqbal

Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6ashhadiqbal
 
Cis 355 ilab 3 of 6
Cis 355 ilab 3 of 6Cis 355 ilab 3 of 6
Cis 355 ilab 3 of 6ashhadiqbal
 
Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6ashhadiqbal
 
Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6ashhadiqbal
 
Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6ashhadiqbal
 
Comp 220 ilab 6 of 7
Comp 220 ilab 6 of 7Comp 220 ilab 6 of 7
Comp 220 ilab 6 of 7ashhadiqbal
 
Comp 220 ilab 5 of 7
Comp 220 ilab 5 of 7Comp 220 ilab 5 of 7
Comp 220 ilab 5 of 7ashhadiqbal
 
Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7ashhadiqbal
 
Comp 220 ilab 7 of 7
Comp 220 ilab 7 of 7Comp 220 ilab 7 of 7
Comp 220 ilab 7 of 7ashhadiqbal
 
CIS/336 ilab 5 of 7
CIS/336 ilab 5 of 7CIS/336 ilab 5 of 7
CIS/336 ilab 5 of 7ashhadiqbal
 
CIS/336 ilab 1 of 7
CIS/336 ilab 1 of 7CIS/336 ilab 1 of 7
CIS/336 ilab 1 of 7ashhadiqbal
 
CIS/115 ilab 4 of 7
CIS/115 ilab 4 of 7CIS/115 ilab 4 of 7
CIS/115 ilab 4 of 7ashhadiqbal
 

More from ashhadiqbal (14)

Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6
 
Cis 355 ilab 3 of 6
Cis 355 ilab 3 of 6Cis 355 ilab 3 of 6
Cis 355 ilab 3 of 6
 
Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6
 
Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6
 
Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6
 
Ilab 2 of 7
Ilab 2 of 7Ilab 2 of 7
Ilab 2 of 7
 
Comp 220 ilab 6 of 7
Comp 220 ilab 6 of 7Comp 220 ilab 6 of 7
Comp 220 ilab 6 of 7
 
Comp 220 ilab 5 of 7
Comp 220 ilab 5 of 7Comp 220 ilab 5 of 7
Comp 220 ilab 5 of 7
 
Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7
 
Comp 220 ilab 7 of 7
Comp 220 ilab 7 of 7Comp 220 ilab 7 of 7
Comp 220 ilab 7 of 7
 
CIS/336 ilab 5 of 7
CIS/336 ilab 5 of 7CIS/336 ilab 5 of 7
CIS/336 ilab 5 of 7
 
CIS/336 ilab 1 of 7
CIS/336 ilab 1 of 7CIS/336 ilab 1 of 7
CIS/336 ilab 1 of 7
 
CIS/115 ilab 4 of 7
CIS/115 ilab 4 of 7CIS/115 ilab 4 of 7
CIS/115 ilab 4 of 7
 
PRG/421 Week 4
PRG/421 Week 4PRG/421 Week 4
PRG/421 Week 4
 

PRG/421 Week 1

  • 1. PRG/421 Java Programming II - Week 1 DISCUSSION QUESTION # 1 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. DISCUSSION QUESTION # 2 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. DISCUSSION QUESTION # 3 What do you feel are the advantages and disadvantages to using Swing versus AWT? LEARNING TEAM 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. INDIVIDUAL ASSIGNMENT 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. CLICK HERE TO GET THE SOLUTION !!!!!!!!