精品深夜AV无码一区二区_伊人久久无码中文字幕_午夜无码伦费影视在线观看_伊人久久无码精品中文字幕

CSCI 2600代做、代寫Java設計程序

時間:2024-08-14  來源:  作者: 我要糾錯



CSCI 2600 — Principles of Software
Optional Extra Credit Homework 8:
RPI Campus Paths GUI
Due: Friday, Aug. 16, 2024, 11:59:59 pm
Submission Instructions
ˆ This assignment uses the same repository as Homework assignments 4, 5, 6, and 7, so when
you are ready to start working on Homework 8, pull Homework 8 ffles from the repository
by right-clicking on your Homework 4, 5, 6 and 7 project in Eclipse and selecting Team →
Pull... Make sure that When pulling is set to Merge, then click Finish.
ˆ Be sure to commit and push the ffles to Submitty. Follow the directions in the version control
handout for adding and committing ffles.
ˆ Be sure to add any additional ffles to your repo using Team/Add to Index.
ˆ Important: You must press the Grade My Repository button, or your answers will not
be graded.
IMPORTANT NOTES:
You should have package hw8 with the usual directory structure. Write your code under
src/main/java/hw8 and your tests under src/test/java/hw8 (shows as hw8 under src/test/java
in Package Explorer).
Introduction
In Homework 7, you wrote a program that found shortest routes between buildings on the RPI
Campus. Now we are asking for a graphical user interface (GUI) that visually draws routes.
You will build your GUI using Java’s JavaFX library. In completing this assignment, you will get
practice using JavaFX, event-driven programming, and the MVC (Observer) design pattern.
Important note: you are not allowed to use Swing, AWT, or any library or framework other than
JavaFX and the standard Java library.
You are expected to ffx any bugs from Homework 7 that affect the correctness or performance of
your application in Homework 8. Furthermore, your Homework 8 should use the model you created
in Homework 7. This may require that you modify your Homework 7 code, that is OK, but be sure
that Homework 7 continues to pass all tests!GUI Requirements
You will write a GUI and a main class to launch it named RPICampusPathsMain.java. This
assignment is deliberately open-ended: the exact appearance and functionality of your GUI are up
to you. The only requirements are documented below.
For the most part, we are not grading on aesthetics: it doesn’t matter whether your GUI looks
pretty as long as it implements the required features. Nevertheless, a design which is genuinely
confusing or hard to use (at our discretion) may not receive full credit. For example, we will deduct
points if we can’t easily ffgure out how to select the two buildings, if it’s hard to see the selected
path, or if we can only see the whole GUI on a 27-inch screen. In addition, your program should
be generally responsive: for instance, the GUI should not take an unusually long time to ffnd and
display paths.
Your GUI is a new View and Controller for your Campus Paths application. Ideally, you should
not have to make any changes to your Homework 7 model classes — they already implement all
the model functionality that you need. If you have to make any small changes (for instance, if your
design in Homework 7 was poor and some model methods were too closely tied to your text view),
then you may do so. As always, all tests from previous homework assignments must continue to
pass, so you may also need to change your Homework 7 View and Controller in that case. In ffle
answers/hw8 model-changes.pdf, list any changes you made to the model. For each, write a 1-2
sentence explanation of why the change was necessary and what you could have done differently on
Homework 7 to create a more general and reusable Model. If you made no changes, write “None”
for this section.
Window size
At startup, your GUI must fft and be usable on a screen with resolution 1024 x 768 and above.
Most computers provide a way to change the screen resolution, which you can use for testing.
Required features
Your GUI must provide the following features:
ˆ At startup, load the map data from data/RPI map data Edges.csv and
data/RPI map data Nodes.csv which you should already have in your repository from Homework
 7. This should be in your model, not your view. There is no need to duplicate ffles;
load them directly from the data/ directory.
ˆ Display the map of RPI campus. You may remove the part at the bottom with the building
names if you need.
Important note: download the map from the course Web site and save it into your data/
directory: data/RPI campus map 2010 extra nodes edges.png. DO NOT commit the map
as the large ffle may break the limit on repo size. When testing, we will copy the map into
your data/ directory under the name RPI campus map 2010 extra nodes edges.png.
ˆ Allow the user to select two buildings for ffnding a route. You need to allow the user toselect endpoints of a path by clicking with the mouse on the map. In addition, you may also
implement some other approach, like selection using menus or dropdown lists.
ˆ Mark or highlight the selected buildings and/or path endpoints on the map.
ˆ Draw the shortest route between the selected buildings on the map. The map should automatically
 be zoomed in or out when a route is drawn, so that the route is almost as large as
possible while still fftting in the window.
ˆ As the window is resized, make the map shrink or grow to fft the window.
ˆ Maintain the proportions of the map so that it zooms in on a route without becoming distorted.
ˆ
Place the map in a ScrollPane so it can be displayed full-size. When displaying a route or
buildings, jump to that spot on the map to resize if needed. (Hint: you probably need to
override getPrefViewportHeight() and getPrefViewportWidth() in your “canvas” class
for scrolling to work.)
ˆ Allow the user to drag the map with the mouse to change the portion that is shown.
ˆ Add zoom buttons, possibly with a way to recenter the image for zooming if a hand is not
available to drag it (e.g., mouse double click).
ˆ Allow the user to reset the GUI by clicking a reset button. This button should clear all
markings on the map and all other controls (such as building selectors), setting the GUI back
to its initial state.
ˆ Operate robustly. No matter what the user does, your program should never allow an exception
 message to bubble up to the console window, and your GUI should never crash, freeze,
display rendering artifacts, or reach a buggy/invalid state.
JavaFX scene elements and GUI builders
Use only components from the JavaFX library for this assignment.
Some IDEs, such as NetBeans, will let you specify the appearance and behavior of your GUI and
automatically generate the code for you. JavaFX also implements FXML, a markup language from
which GUI code can be generated. You may use these tools, if you wish.
1 Launching your GUI
We will launch your GUI from Run As → Java Application.
List all features you implemented in answers/hw8 features.pdf. You must commit
answers/hw8 features.pdf ffle to get credit for any features of your solution.
Writing automated tests for GUI is difffcult and usually involves special frameworks that are
beyond the scope of this course. For this reason, you are not required to write unit tests. We will
test your solution by running your main program.Reffection [0.5 points]
Please answer the following questions in a ffle named hw8 reflection.pdf in your answers/ directory.
 Answer brieffy, but in enough detail to help you improve your own practice via introspection
and to enable the course staff to improve Principles of Software in the future.
(1) In retrospect, what could you have done better to reduce the time you spent solving this
assignment?
(2) What could the Principles of Software staff have done better to improve your learning experience
 in this assignment?
(3) What do you know now that you wish you had known before beginning the assignment?
We will be awarding up to 1 extra credit point (at the discretion of the grader) for particularly
insightful, constructive, and helpful reffection statements.
Collaboration[0.5 points]
Please answer the following questions in a ffle named hw8 collaboration.pdf in your answers/
directory.
The standard integrity policy applies to this assignment.
State whether you collaborated with other students. If you did collaborate with other students,
state their names and a brief description of how you collaborated.
Grade Breakdown
ˆ Model Changes: 5 pts.
ˆ Basic Functionality of GUI Application: 8 pts.
ˆ Features of GUI Application: 3 pts. per required feature
ˆ Collaboration and reffection: 1 pt.
Hints
General GUI Advice
If you have never used JavaFX, it is well worth your time to study some tutorials, read the
example code, and generally get comfortable with GUI programming before diving into the
assignment.
Abstraction functions, representation invariants, and checkRep() are not required for GUI
classes because they generally do not represent ADTs.
User testing is a great way to verify that your interface is as easy to use as you think it is.
Show your GUI to your friend/roommate/family member. Can they ffgure out how to use
it without directions from you?As usual, remember to follow good methodology and class decomposition among other best
practices for style.
Programming With JavaFX
Oracle’s JavaFX tutorials are a useful resource. Also remember to use the Java API and
JavaFX documentation, to see what classes and methods are available and how to use them.
What to Turn In
You must commit and push the following ffles to Submitty. Don’t forget to click “Grade My
Repository” button on Submitty!
ˆ src/main/java/hw8/RPICampusPathsMain.java
ˆ src/main/java/hw8/*.java [your GUI classes]
ˆ src/main/resources/fxml/*.fxml [your FXML ffles, if any]
ˆ src/main/resources/img/*.* [your image ffles, if any]
ˆ answers/hw8 model-changes.pdf [list of changes to HW7. The ffle may simply contain
“None”.]
ˆ answers/hw8 features.pdf [list of all features you implemented.]
ˆ answers/hw8 reflection.pdf
ˆ answers/hw8 collaboration.pdf
Errata
Check the Submitty Discussion Forum for possible errata or other relevant information.
Q & A
None yet.
Parts of this homework were copied from the University of Washington Software Design and
Implementation class by Michael Ernst.

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp





 

標簽:

掃一掃在手機打開當前頁
  • 上一篇:代寫GA.2250、Python/Java程序語言代做
  • 下一篇:CSCI 2600代做、代寫Java設計程序
  • 無相關信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區
    昆明西山國家級風景名勝區
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗證碼平臺 理財 WPS下載

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    精品深夜AV无码一区二区_伊人久久无码中文字幕_午夜无码伦费影视在线观看_伊人久久无码精品中文字幕
    <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
    <ul id="e4iaa"></ul>
    <blockquote id="e4iaa"><tfoot id="e4iaa"></tfoot></blockquote>
    • <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
      <ul id="e4iaa"></ul>
      <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp><ul id="e4iaa"></ul>
      <ul id="e4iaa"></ul>
      <th id="e4iaa"><menu id="e4iaa"></menu></th>
      亚洲精品成人少妇| 欧美一区二区三区视频免费播放 | 中文久久乱码一区二区| 国产在线精品一区二区夜色 | 亚洲精品在线观看网站| 国产乱码精品一区二区三区忘忧草 | 中文字幕不卡的av| 色婷婷国产精品久久包臀 | 国产精品久线在线观看| 99久久综合狠狠综合久久| 久久精品夜色噜噜亚洲a∨| 国产精品影视在线观看| 久久精品欧美日韩精品| 色综合咪咪久久| 美女在线观看视频一区二区| 久久日韩精品一区二区五区| www.av亚洲| 午夜久久福利影院| 久久影院电视剧免费观看| 99热国产精品| 乱中年女人伦av一区二区| 国产精品久久午夜| 日韩欧美成人激情| 色综合天天狠狠| 欧美tickling网站挠脚心| 色综合久久88色综合天天6| 蜜桃精品视频在线| 亚洲一区中文日韩| 国产欧美一区二区精品性色超碰 | 国产精品自产自拍| 日韩成人午夜精品| 亚洲视频一区二区在线观看| 欧美一区二区三区视频免费| 成人爽a毛片一区二区免费| 日韩国产欧美在线观看| 中文字幕欧美日韩一区| 欧美精品日日鲁夜夜添| 成人精品国产免费网站| 亚洲视频一区二区在线| 在线观看av一区| 99精品久久只有精品| 一区二区日韩av| 欧美在线免费观看亚洲| 美女尤物国产一区| 国产精品婷婷午夜在线观看| 欧美色精品在线视频| 狠狠色丁香久久婷婷综合丁香| 亚洲欧美在线视频观看| 欧美日韩一区二区电影| 国产一区二区h| 一级日本不卡的影视| 久久精品亚洲麻豆av一区二区 | 国产精品一区二区三区99| 国产精品久久久久久久久图文区 | 美女爽到高潮91| 亚洲精品乱码久久久久久久久 | 欧美图区在线视频| 国产制服丝袜一区| 五月综合激情婷婷六月色窝| 欧美国产综合色视频| 欧美久久久久免费| 不卡的av电影| 麻豆国产精品777777在线| 成人免费在线视频| 国产亚洲综合性久久久影院| 欧美亚男人的天堂| eeuss国产一区二区三区| 精品在线一区二区三区| 亚洲成人资源在线| 亚洲人精品午夜| 欧美国产精品劲爆| 欧美蜜桃一区二区三区| 91免费视频网址| 国产不卡免费视频| 韩国成人在线视频| 青椒成人免费视频| 午夜精品久久久久久久99樱桃| 国产精品美女一区二区三区 | 成人h动漫精品| 极品少妇xxxx精品少妇| 日本美女一区二区三区视频| 亚洲国产日韩a在线播放性色| 中文字幕在线不卡| 国产精品免费av| 国产午夜亚洲精品不卡| 欧美午夜精品一区二区三区| 欧美色图第一页| 欧美人与禽zozo性伦| 欧美日韩国产在线播放网站| 日本高清不卡视频| 欧美视频你懂的| 精品视频在线视频| 在线不卡一区二区| 日韩一区二区三区三四区视频在线观看| 在线日韩国产精品| 欧美日韩精品一区二区三区四区| 欧美三日本三级三级在线播放| 色诱亚洲精品久久久久久| 色欧美片视频在线观看在线视频| 日本福利一区二区| 欧美美女直播网站| 久久综合av免费| 久久久久一区二区三区四区| 一区二区三区美女视频| 日韩福利视频导航| 国产精品77777竹菊影视小说| 国产综合色视频| 91免费视频观看| 欧美一区二区精品久久911| 精品999久久久| 亚洲女同ⅹxx女同tv| 天天色 色综合| 精彩视频一区二区| 色网站国产精品| 欧美疯狂做受xxxx富婆| 精品久久久久久久久久久久久久久久久 | 91精品国产一区二区三区| 欧美大肚乱孕交hd孕妇| 欧美国产日本视频| 青草国产精品久久久久久| 成人黄色av电影| 欧美色爱综合网| 国产精品久久久久天堂| 青青草视频一区| 成人av电影在线网| 3751色影院一区二区三区| 国产精品欧美久久久久无广告| 亚洲男人的天堂网| 午夜精品成人在线| 国产成人精品1024| 91精品国模一区二区三区| 国产精品色一区二区三区| 日本欧美久久久久免费播放网| 99视频在线精品| 久久这里只精品最新地址| 国产女同性恋一区二区| 亚洲精品网站在线观看| 日本午夜一区二区| 国产一区二区调教| 91老师国产黑色丝袜在线| 精品处破学生在线二十三| 亚洲另类色综合网站| 风间由美性色一区二区三区| 日韩欧美不卡在线观看视频| 一区二区三区欧美亚洲| 成人国产视频在线观看| 日韩一级片在线观看| 亚洲高清视频中文字幕| 国产成人精品三级麻豆| 国产精品乱子久久久久| 国产麻豆成人精品| 欧美一级理论性理论a| 五月婷婷欧美视频| 欧美性色aⅴ视频一区日韩精品| 久久久久99精品国产片| 麻豆成人91精品二区三区| 欧美美女视频在线观看| 午夜亚洲国产au精品一区二区| 在线看不卡av| 亚洲综合一区二区| 色综合天天综合| 免费看黄色91| 日韩精品自拍偷拍| 另类中文字幕网| 精品国一区二区三区| 精品一区二区免费视频| 欧美精品一区二区三区蜜臀| 极品少妇一区二区三区精品视频 | 韩国v欧美v亚洲v日本v| 日本一区二区综合亚洲| jizz一区二区| 亚洲黄色尤物视频| 欧美探花视频资源| 日韩高清在线不卡| 日韩精品一区二区三区视频播放| 午夜伊人狠狠久久| 日韩色在线观看| 国产成人av影院| 亚洲丝袜精品丝袜在线| 欧美色区777第一页| 日本成人在线不卡视频| 亚洲精品一二三四区| 6080yy午夜一二三区久久| 韩国理伦片一区二区三区在线播放| 日本一区二区免费在线观看视频| www.亚洲激情.com| 香蕉av福利精品导航| 2024国产精品视频| 粉嫩蜜臀av国产精品网站| 亚洲精品国产一区二区精华液| 欧美网站一区二区| 久久国产精品色婷婷| 26uuu另类欧美亚洲曰本| 久久成人av少妇免费| 亚洲a一区二区| 久久综合色天天久久综合图片| 91免费视频网| 精品一区二区三区在线播放| 成人欧美一区二区三区1314| 欧美一级午夜免费电影|