” 写作EECS 1720、 辅导Java程序、Java语言ASSIGNMENT 2 :: Java AWT/Swing application Interactive ApplicationResources:Java API: httpss://docs.oracle.com/javase/8/docs/api/Java AWT/Swing: httpss://www.javatpoint.com/java-awtJava Swing: httpss://docs.oracle.com/javase/tutorial/uiswing/components/index.htmlThe GOAL of this assignment is to build upon Assignment 1, to integrate expand the interactionin your application design to include free mouse key interactions (along with interactions onGUI controls), that drive the presentation of some form of dynamic visual (or animated)component.The goal is not necessarily to Have a complete and fully functional application, but rather to haveyour application partially enabled in terms of illustrating the workings of a particular feature setof the application (i.e. some basic interactions or movements within a sample scene of yourapplication; or the switching between multiple contexts within your application such as switchingbetween a configuration mode and a scene from the a working part of your application).For e.g., if you are creating a scene from a game, you might focus on an animated or controllablemoving element, or dynamically loaded/displayed set(s) of visual elements within a canvas in yourapplication; if you are creating a compositional tool or simulation, you might enable the switchingbetween a configuration screen that sets parameters for your application, and another scene thatuses those parameters to Drive the creation of some graphical output; if you are creating a databaseor ordering tool, you might switch between an enabled configuration/submission screen (whereyou enter data), and some visual representation of data loaded into in your application (such asgenerating a visual report of the data entered).IMPORTANT: This assignment should be written using Java AWT/Swing (not Java FX)Assignment 2 deliverables:1) Process a minimum of 2 action-based events that result from interaction with a UIcontrol), that directly result in some visual change in the scene, and/or a modification tothe state of your applicationa. The application should have at least one handler to process at least 2 kinds of UItriggered action event (or similar)b. The two action events cannot be from the same type of UI control (they must befrom different types of controls.. i.e. handling two events triggered by two differentbuttons does not satisfy this requirement in full. You should have at least one other UIcontrol that is not of the same type.For example (in the context of a scene from a game), clicking on a button or other UIcontrol would create one of the types of characters and position it on the screen.Another button could move the character (the character would move in a way that isunique for that character).The character might undergo a collision (triggering an event that is handled), oranother checkbox or other control could change the appearance of the character, orenable them in some other way (e.g. a textfield could generate a speech bubble, orcontrol something else visual in the scene).2) Process a minimum of 2 key-based/mouse-based events that result in some visual changein the scene, and/or a modification to the state of your applicationa. The application must have at least one handler for each of the above types of events toprocess this can be Either on a graphical object or in the window (e.g. drag event ormouse down/release, key press/release, etc.)For example (game context): moves could be triggered by a keypress rather or a mouseclick on or near the character itself (e.g. right click results in a move, while left clickresults in an appearance change).In another context (compositional tool/simulation), a click into a canvas area couldprovide input for the start of a drawing/automatically generated artwork (think aboutyour labs from EECS1710, where the user provides input for the turtle-based graphics,which are now drawn with direct calls to Graphics2D references as opposed to usingthe turtle. Or think about how you might make interactive inputs to controlmanipulations made on audio or image files). ** these are examples only.Perhaps you want to collect and store/manage a small image collection (and be ableto easily recall and do something with an image from that collection) again the typesof interaction do not necessarily need to be that involved. We are not expecting AAAgames or Photoshop Quality tools. Keep it as simple as possible. Ensuring that theminimum specifications are achieved.3) The submission should include a signed version of the AcademicIntegrity statement, aREADME.txt and a UML diagram describing your program and any classes that youhave built that are part of/used by the application (previously in Assignment 1 you didthis for what you intended to build so it was more in a design stage. These diagramsshould outline what you actually built.Academic Integrity Statement (see attached at the end of this file). Sign and submit thispage with your final assignment 2.README.txt:a. Include all the names and student IDs of the people in your groupb. Include a brief description of the project, what it does (not what you had hoped itwould do), and how to use itc. Include any references to resources/inspiration used for this projectUMLDiagrams.pdf:d. Include one or more UML class diagrams outlining the classes you have built for thisproject, what including All HAS-A and IS-A relationships usede. Bonus marks if you use inheritance or interfaces within any of the classes you build(not including extending JFrame or using any Listener interfaces).RUBRIC (Marking Scheme) – 50 points total = worth 10% toward final grade Meets Goal 1 (15 points) Meets Goal 2 (15 points) Meets Goal 3 (10 points) Aesthetics/Creativity (10 points)PROJECT SUBMISSION (Deadline: 11:59pm, Sunday 11th April, 2021)Please submit your work as a complete project file (export your project to a zip file from withinthe Eclipse IDE, and select all files in the subfolder except *.class files for export). Export yourwork into a *.zip file). To do this, select the project, right click and select export. Export as acomplete zipped project.** Alternatively, if you have used GitHub, you may download a cloned (zipped) version of yourGit Repository (with all the files above), and submit that to web submit.Submit 1-4 files to a2 directory in websubmit (this only needs to be done through one of thegroup members):1. Signed Academic Integrity statement (last page of this document). This needs to beincluded with your submission, with names and signatures of all of your team members.2. the exported/cloned project (*.zip file) – please make sure the file opens and runs on theEECS VM or lab machine before submitting3. a text file (e.g. README.txt) – inside list the student ID numbers and names of allmembers of the group, and include a brief description of the project (what it is, basics ofhow to run/use it)4. the UML full class diagram (UMLDiagrams.pdf) outlining the classes you have built foryour project – no need to Integrate classes that already exist, except as fields of yourclasses where appropriate).Recall: if you submit multiple times, the files previously submitted will be overwritten with thenewer versions of the files. You can submit an unlimited number of times up until the deadlinefor this project. You can also check what you have submitted through the web-submit portal:Web-submit can be found at the link: httpss://webapp.eecs.yorku.ca/submit/EECS 1720M W2021ASSIGNMENT 2ACADEMIC INTEGRITY STATEMENTWe (the undersigned) hereby Confirm that this assignment represents the sole work of theindividuals listed below.We (the undersigned) confirm that this work has been completed in adherence to the SenatePolicy on Academic Honesty, without unapproved collaboration or the use of unpermitted aidsor resources.We recognize the importance of academic integrity and understand that there is no tolerancetowards academic dishonesty Within the Lassonde School of Engineering. We are aware thatany suspected breaches will be reported to the Academic Honesty unit within the StudentWelcome and Support Centre, and may result in additional penalties in accordance with theAcademic Honesty Policy.Name: First, Last Login Name:(indicate the loginused for submission)Student No.: Signature/Date:请加QQ:99515681 或邮箱:99515681@qq.com WX:codehelp
“
添加老师微信回复‘’官网 辅导‘’获取专业老师帮助,或点击联系老师1对1在线指导。