亚洲精品人人_日韩视频在线一区二区三区_欧美剧在线免费观看网站_亚洲国产91

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

    亚洲精品人人_日韩视频在线一区二区三区_欧美剧在线免费观看网站_亚洲国产91
    日韩一区二区在线免费观看| 日韩午夜激情免费电影| 99久久综合精品| 91丨porny丨最新| 欧美日韩在线播放三区| 欧美一区二区三区视频在线观看| 日韩一区二区三区电影| 久久久久久夜精品精品免费| 欧美国产一区二区在线观看| 亚洲同性gay激情无套| 亚洲午夜电影在线| 麻豆传媒一区二区三区| 国产精品18久久久| 欧美在线免费观看亚洲| 91精品国产综合久久久久久久 | 91网上在线视频| 欧美蜜桃一区二区三区| www国产精品av| 伊人色综合久久天天| 青椒成人免费视频| av亚洲精华国产精华精| 91麻豆精品国产综合久久久久久 | 麻豆精品精品国产自在97香蕉| 日韩电影在线免费观看| 国产精品亚洲人在线观看| 色婷婷激情久久| 2020国产精品久久精品美国| 一区二区成人在线观看| 国产乱淫av一区二区三区| 欧美在线一二三| 中文天堂在线一区| 麻豆精品一区二区综合av| 色综合久久久久久久久久久| 精品国产1区二区| 亚洲一区二区三区影院| 成人亚洲精品久久久久软件| 7777精品伊人久久久大香线蕉完整版| 中文字幕一区二区三区视频| 麻豆国产欧美日韩综合精品二区| 在线视频综合导航| 国产精品美日韩| 国产福利精品一区| 日韩精品一区二区三区在线| 亚洲午夜国产一区99re久久| 99这里只有精品| 欧美激情艳妇裸体舞| 国产又粗又猛又爽又黄91精品| 7777精品伊人久久久大香线蕉的| 一区二区三区中文字幕| av欧美精品.com| 国产精品丝袜黑色高跟| 国产精品一级二级三级| 精品日韩成人av| 日本vs亚洲vs韩国一区三区| 欧美性色综合网| 亚洲国产日韩一级| 欧美亚洲日本一区| 亚洲午夜在线视频| 欧美日韩亚洲综合在线 | 亚洲成人激情综合网| 色呦呦国产精品| 亚洲精品国产一区二区精华液| 成人av中文字幕| 中文字幕中文字幕在线一区 | 伦理电影国产精品| 欧美大黄免费观看| 精品一区二区三区蜜桃| 欧美精品一区二区三区蜜臀| 美日韩一区二区三区| 欧美成人福利视频| 国产精品888| 国产精品久久夜| 不卡的av在线播放| 一区二区三区在线视频免费观看| 色婷婷久久久亚洲一区二区三区| 亚洲女同一区二区| 国产一区二区三区不卡在线观看| 国产高清成人在线| 国产精品二三区| 久久99久久久久| 欧美二区三区的天堂| 蜜臀av在线播放一区二区三区 | 欧美日本国产视频| 精品一区二区三区视频在线观看| 国产亚洲精品bt天堂精选| 成人av影视在线观看| 一区二区三区鲁丝不卡| 91麻豆精品91久久久久久清纯| 激情综合网激情| 1000部国产精品成人观看| 欧美亚洲另类激情小说| 黄色小说综合网站| 亚洲天堂免费在线观看视频| 欧美高清一级片在线| 国产一区二区在线观看视频| 综合久久国产九一剧情麻豆| 欧美肥胖老妇做爰| 不卡一区二区在线| 欧美a级理论片| 综合网在线视频| 欧美哺乳videos| 91麻豆国产福利在线观看| 麻豆精品视频在线观看视频| 成人免费一区二区三区视频 | 综合亚洲深深色噜噜狠狠网站| 91精品婷婷国产综合久久竹菊| 高清在线不卡av| 日日嗨av一区二区三区四区| 国产精品美女久久久久aⅴ| 欧美精品一卡二卡| 91丨porny丨首页| 久久99精品国产麻豆不卡| 一区二区在线免费观看| 国产日韩精品视频一区| 4438x亚洲最大成人网| 日本久久精品电影| 成人不卡免费av| 国产毛片精品一区| 美女爽到高潮91| 亚洲超碰97人人做人人爱| 日韩一区在线播放| 国产日产精品1区| 精品国产污网站| 欧美一区二区三区成人| 精品视频999| 欧美伊人精品成人久久综合97| 成人精品免费视频| 福利电影一区二区| 国产麻豆视频精品| 国产一区二区三区香蕉| 精品一区二区三区免费毛片爱 | 国产精品久久久久天堂| 久久人人97超碰com| 6080午夜不卡| 欧美精品欧美精品系列| 欧美喷潮久久久xxxxx| 欧美艳星brazzers| 欧美亚洲国产一区二区三区va | 国产精品久久毛片av大全日韩| 欧美一区二区久久| 日韩一级精品视频在线观看| 777xxx欧美| 日韩精品一区二区三区视频在线观看 | 最新成人av在线| 亚洲老司机在线| 亚洲小说春色综合另类电影| 亚洲成av人片在线观看无码| 亚洲成人免费看| 琪琪一区二区三区| 免费成人在线网站| 狠狠色丁香婷综合久久| 国产高清精品网站| 色综合天天做天天爱| 欧美性xxxxx极品少妇| 3atv在线一区二区三区| 日韩精品综合一本久道在线视频| 精品精品国产高清一毛片一天堂| 精品久久免费看| 国产精品国产三级国产aⅴ原创 | 99精品国产视频| 欧日韩精品视频| 欧美狂野另类xxxxoooo| 欧美电影免费观看高清完整版在线观看| 精品国产伦一区二区三区观看方式 | 7799精品视频| 久久精品亚洲乱码伦伦中文| 中文字幕中文字幕一区| 亚洲va欧美va人人爽午夜 | 91视频精品在这里| 欧美美女直播网站| 26uuu亚洲综合色| 亚洲免费观看高清完整版在线观看| 亚洲一区二区影院| 国产乱一区二区| 在线精品视频一区二区三四| 欧美不卡一区二区三区四区| 一区二区中文视频| 另类的小说在线视频另类成人小视频在线| 国产高清精品网站| 91精品国产乱码久久蜜臀| 国产精品系列在线| 日本美女一区二区三区| 91在线视频在线| 久久久久久久久岛国免费| 亚洲国产精品一区二区尤物区| 国产精品伊人色| 欧美日本一区二区三区四区| 国产精品天干天干在线综合| 日韩高清一区在线| 色天使久久综合网天天| 久久精品欧美一区二区三区不卡| 亚洲国产一区视频| 9色porny自拍视频一区二区| 日韩欧美一级二级三级久久久| 1024国产精品| 丁香婷婷综合激情五月色| 欧美成人三级电影在线| 午夜视频在线观看一区二区| 99re亚洲国产精品| 日本一区二区不卡视频|