Microsoft Word - CS202_AS4_Album.docx CS202Assignment4 Requirements: • Youhavetwooptionsforthishomework.IfyouchooseoptionB,youmust...

Assignment attatched


Microsoft Word - CS202_AS4_Album.docx CS202Assignment4 Requirements: • Youhavetwooptionsforthishomework.IfyouchooseoptionB,youmust checkwithmetoaboutthefeasibilityofthetechnicalcomponents. • Youcanchoosetoworkaloneorinagroupoftwopeople. • Eachgroupwillgiveapresentationofyourproject. Important dates: • Deadline of code and PPT submission: 11:59pm, Sunday May 16th • Presentation date: 1 ~ 4pm, Monday May 17th. Each group will have 12 ~ 15 minutes to present. OptionA: UseJavaFX(notJavaSwingorAWT),writeaprogramtocreateaGUIJavadesktop applicationshowinganalbumthatcontainsimagesthatyouwanttopresent.Itcan beyourownpictures,orsomethingthatinterestyou. Thefollowinggraphillustratestwoscreenshots. ActionEventhandling(forbuttons)&timedanimation(javafx.animation.TimeLine) ThePreviousandNextbuttonallowstheusertoshowthepreviousorthenextimage in the photo album.When the “SlideShow” button is pressed, the photos will be automatically displayed in order.Whenpressing the “Stop” button is pressed, the slideshowwillstop. Yourprogramneedstohavethefollowingeventhandlingmechanisms: 1(MouseEventhandling): Atanytime,whenyouclickonthelefthalfofthescreen,thepreviousphotowillbe displayed.When you click on the right half of the screen, the next photo will be displayed. 2(KeyEventHandling): Atanytime,whenyoutype“p”,thepreviousphotowillbedisplayed.Whenyoutype “n”,thenextphotowillbedisplayed. NotethatifyouregisterakeyeventhandlerwithacertainUIcomponent,suchasa pane,youmustmakesurethatthepanehasthefocus,forexample: myPane.requestFocus(); Hints: 1. CreateanArrayListofimages,e.g.,ArrayListtostoreallImage-type objects. 2. Checkoutpreviousexamples,suchastheTimeLineDemoand ControlCircleWithMouseAndKeyprojects(Tomakethekeyeventhandler work,remembertorequestfocus.) OptionB:(Extracreditwillbegivenbasedontechnicaldepthandcreativity) YoucancreateyourownGUIapplication,butitmustincludeatleasttwo differenttypesofeventhandling,oneofwhichmustbeeitherMouseEventor KeyEvent.Forexample,mouse+keys,buttons+keys,mouse+buttons,etc.Also, youmustcheckwithmetomakesurethatthetechnicalcomponentsaresufficient. Collaborationpolicies • Please note that your group’s work must be your own, and you cannot share code with other groups or use programs from the Internet as your own. • You are allowed to use some code resources from the Internet. When doing so, please add reference links. The code resources from the Internet cannot be more than 50% of your code. Referencesofresourcesmustbeadded. Beforeyoustart,pleasecheckwithmetomakesurethatyourproject ideaisOK. • Each member must make significant contributions to coding. This is extremely important and will significantly influence your grade. • You must be able to answer questions I raise about your code in order to receive full credit. Coderequirements - Make sure your code is free of compile errors. Programs with compile errors will earn you a very low grade. - Each person need to make a submission to canvas. In your project folder, include a README.docx listing references. If you work in a group, list both partners names and briefly describe how you divided up the work. - Comment your code and follow the Java style guide. - Debugging your program takes time. Please start early so that you have time to raise questions and get help when needed. Gradingcriteriaforyourcode: - Functionalitiesandtechnicalcorrectness(80%), - Commentsandcodingstyle(20%) Presentationrequirements - YoumustprepareaPPT. - Startyourpresentationwithabrieflyintroductionyouandyour projectpartnerandtalkaboutwhyyouchooseoptionAoroptionB. Lookatthecameraandmake“virtual”eyecontactwithyour audience. - Duringthepresentation,youwill a) Demoyourprogramand i. OptionA:talkabouttheimagesinyourapplication. ii. OptionB:talkaboutkeyfunctionalities. b) Talkaboutthestructureofyourcode.Forexample,howmany classes,theirrelationships c) Talkaboutmaintechnicalchallengesthatyouencounteredand howyousolvedthem. Gradingcriteriaforyourpresentation: - QualityofPPT - Beginningintroduction(professionalism,eyecontactandvoice volume) - Smoothflowofideas - Lengthofpresentation - Appropriatelyaddressquestions
May 16, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here