久久久久久精品无码人妻_青春草无码精品视频在线观_无码精品国产VA在线观看_国产色无码专区在线观看

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

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



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





 

標簽:

掃一掃在手機打開當前頁
  • 上一篇:CSCI 2600代做、代寫Java設計程序
  • 下一篇:返回列表
  • 無相關信息
    昆明生活資訊

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

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

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

    久久久久久精品无码人妻_青春草无码精品视频在线观_无码精品国产VA在线观看_国产色无码专区在线观看

    少妇性饥渴无码a区免费| 国产永久免费网站| 欧美午夜aaaaaa免费视频| mm131午夜| aa免费在线观看| 4444在线观看| 性chinese极品按摩| 五十路熟女丰满大屁股| 在线视频日韩欧美| 日韩精品一区二区三区不卡| 免费在线黄网站| 久久久精品视频国产| 亚洲精品乱码久久久久久自慰| 色哺乳xxxxhd奶水米仓惠香| 欧美日韩亚洲自拍| 1024av视频| 免费网站永久免费观看| 在线观看中文av| www.超碰com| 激情综合在线观看| 欧美高清中文字幕| 亚洲一二三不卡| 成人免费在线观看视频网站| 2022亚洲天堂| 无码 制服 丝袜 国产 另类| 2021狠狠干| 中文字幕成人免费视频| 一本久道综合色婷婷五月| 国产69精品久久久久999小说| ijzzijzzij亚洲大全| 在线观看免费不卡av| 国产又黄又猛视频| 久久久久狠狠高潮亚洲精品| 日本中文字幕网址| 国产高清av在线播放| av片在线免费| 男女激情免费视频| 国产成人一区二区三区别| 四虎4hu永久免费入口| 日本丰满少妇黄大片在线观看| 亚洲黄色av片| 极品粉嫩美女露脸啪啪| 亚洲综合婷婷久久| 五月婷婷丁香综合网| www亚洲成人| 欧美在线aaa| 亚洲一区二区三区观看| 成人日韩在线视频| 香蕉视频禁止18| 五月婷婷之婷婷| 99热这里只有精品在线播放| 一二三四视频社区在线| av高清在线免费观看| 日韩极品视频在线观看| 免费看欧美黑人毛片| av在线观看地址| 国产极品在线视频| 99爱视频在线| 久久午夜夜伦鲁鲁一区二区| 天天综合网日韩| 日韩av片免费观看| 欧美一级免费在线观看| 精品国产一区二区三区在线| 久久久久久久香蕉| 国产老熟妇精品观看| 精品www久久久久奶水| 中文字幕永久视频| www.桃色.com| 日韩欧美视频免费在线观看| 妞干网在线观看视频| 欧美亚洲国产成人| 国产一二三四在线视频| 久久久九九九热| 男人c女人视频| 精品国产成人av在线免| www.com久久久| 日韩免费在线观看av| 国产福利一区视频| 伊人五月天婷婷| 国产高清av在线播放| 三级在线视频观看| 国产精品久久成人免费观看| 美女日批免费视频| 男人添女人下面免费视频| 免费久久久久久| 成人一对一视频| 色呦色呦色精品| 成人在线国产视频| 欧美婷婷精品激情| 少妇一晚三次一区二区三区| 熟女少妇精品一区二区| aaa免费在线观看| 久久精品免费一区二区| 欧美在线a视频| 欧美日韩在线不卡视频| 日本特黄在线观看| 日本免费一级视频| 欧美与动交zoz0z| 成人三级视频在线播放| 91大神免费观看| 日韩一级片播放| 18黄暴禁片在线观看| 色播五月激情五月| 国产黄页在线观看| 一级全黄肉体裸体全过程| 久久久噜噜噜www成人网| xxx中文字幕| 密臀av一区二区三区| 欧美一区二区视频在线播放| 99sesese| 六月激情综合网| 蜜桃视频一区二区在线观看| 三上悠亚在线一区二区| 国产精品999视频| 黄瓜视频免费观看在线观看www| av免费中文字幕| 中国丰满熟妇xxxx性| 在线观看国产一级片| 99福利在线观看| 黄色成人在线看| 女女同性女同一区二区三区按摩| 男人插女人下面免费视频| 一卡二卡三卡视频| a级网站在线观看| 日本中文字幕精品—区二区| 欧美黄网站在线观看| 欧美成人高潮一二区在线看| 九九久久九九久久| www.51色.com| 亚洲欧美国产中文| 亚洲精品中文字幕无码蜜桃| 丝袜人妻一区二区三区| 4444在线观看| japanese在线视频| 亚洲制服中文字幕| 五月天中文字幕在线| 免费看污污网站| 日本女优爱爱视频| 日日碰狠狠躁久久躁婷婷| 黄色一级视频片| 免费看黄在线看| 日本男女交配视频| 免费在线黄网站| 欧美久久久久久久久久久久久久| 天堂av在线中文| mm131午夜| 中文字幕乱码免费| 欧美日韩午夜爽爽| 成年人视频大全| 欧美黄色免费网址| 久久99久久99精品| 男人添女人下部高潮视频在观看 | www插插插无码免费视频网站| 国产欧美自拍视频| 午夜啪啪福利视频| 国产911在线观看| 2022中文字幕| 女人帮男人橹视频播放| 日韩中文字幕在线免费| 青青草成人免费在线视频| 少妇无码av无码专区在线观看 | 一区二区三区视频网| 亚洲一级免费观看| 狠狠干狠狠操视频| 一本之道在线视频| 色哟哟免费网站| 人人妻人人澡人人爽欧美一区双| 成人免费毛片在线观看| 丰满少妇被猛烈进入高清播放| 97xxxxx| 中文字幕国产传媒| 亚洲理论中文字幕| 欧美 日韩 国产精品| av网站手机在线观看| 日韩avxxx| 尤蜜粉嫩av国产一区二区三区| 不用播放器的免费av| 一女被多男玩喷潮视频| 情侣黄网站免费看| 最新天堂中文在线| 大桥未久一区二区三区| 国产主播自拍av| 欧美成人黑人猛交| 最新av免费在线观看| 久久亚洲a v| 精品一卡二卡三卡| 国产乱码一区二区三区四区| 亚洲天堂第一区| 亚洲色欲综合一区二区三区| 国模私拍视频在线观看| 欧美 日韩 国产精品| 蜜臀av午夜一区二区三区| 日本国产一级片| 人妻夜夜添夜夜无码av| 午夜宅男在线视频| 免费网站在线观看视频| 9久久婷婷国产综合精品性色 | 久久久久久久久久一区二区| 真人做人试看60分钟免费| 日韩av资源在线|