亚洲十八**毛片_亚洲综合影院_五月天精品一区二区三区_久久久噜噜噜久久中文字幕色伊伊 _欧美岛国在线观看_久久国产精品毛片_欧美va在线观看_成人黄网大全在线观看_日韩精品一区二区三区中文_亚洲一二三四区不卡

CSCI 2600代做、代寫Java設(shè)計程序

時間: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





 

標(biāo)簽:

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

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

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    日韩中文字幕视频网| 国产免费视频| 黑人久久a级毛片免费观看| 91精品啪在线观看国产60岁| 成人免费视频caoporn| 亚洲乱码在线| 国产精品麻豆一区二区三区 | 成人免费视频网站在线看| 在线观看av不卡| 欧美一区二区三区成人| 欧美性猛交xxxx黑人| 日本一区二区三区四区在线视频 | 精品国产123| 男女激情视频一区| 美女欧美视频在线观看免费 | 影音先锋中文在线视频| 黄色片网站在线观看| 热国产热中文视频二区| 日本精品视频一区二区三区| 欧美亚洲尤物久久| 国产黄色av免费看| 成人性生交大片免费看网站| 欧美激情护士| 狂野欧美性猛交xxxxx视频| 蜜桃视频中文字幕| 欧美精品自拍偷拍动漫精品| 香蕉成人啪国产精品视频综合网| 日韩欧美一级精品久久| 精品久久香蕉国产线看观看亚洲 | 99精品在免费线中文字幕网站一区| 蜜桃传媒九九九| 一区二区高清在线| 国内外成人在线| 国产91精品精华液一区二区三区 | 狠狠色狠狠色综合日日91app| 久久夜色精品国产欧美乱极品| 久久国产福利| 午夜精品一区二区三区电影天堂| 亚洲日本天堂| www.欧美.com| yiren22亚洲综合伊人22| 日韩在线中文| 亚洲日本丝袜连裤袜办公室| 亚洲中国最大av网站| 中文字幕一区不卡| 一区二区免费看| 精品视频在线免费观看| 婷婷久久综合九色综合伊人色| 日韩亚洲国产中文字幕欧美| 欧美日韩在线电影| 91在线精品一区二区| 日本不卡视频一二三区| 午夜国产精品视频| 欧洲专线二区三区| 哺乳挤奶一区二区三区免费看 | 久久国产剧场电影| 激情综合网站| 日韩成人免费在线| 狠狠爱在线视频一区| 国产中文在线观看| 精品久久久久久久久久久aⅴ| 色婷婷狠狠综合| 红杏视频成人| 色综合久久66| 美女精品久久| 国产成人av一区二区三区在线观看| 国产欧美精品一区| 在线成人免费观看| 久久99精品久久| 都市激情亚洲| 精品制服美女久久| 天天综合网天天综合色| 九色中文视频| av免费高清观看| 日本三级电影网| 日本黄在线观看| 国产区视频在线播放| 日韩国产网站| 日本不卡视频一二三区| 欧美一区二区三区视频| 久草福利资源站| 超碰97久久国产精品牛牛| 日韩电影在线一区二区三区| 7878成人国产在线观看| 97视频热人人精品免费| 精品国产免费视频| 久久电影网电视剧免费观看| 羞羞视频立即看| 欧美福利专区| 在线视频欧美区| 成年人国产在线观看| 精品国产视频| 国产精品成人在线观看| 三级黄色网址| 99精品网站| 尤物在线观看一区| 操你啦视频在线| 久久久久黄色| 中文字幕在线观看第一页| 男人的天堂在线视频免费观看 | 成人直播视频| 国产成人av资源| 亚洲男男gay视频| 嫩草影视亚洲| 久久这里都是精品| 先锋影音欧美性受| 影音先锋在线一区| 欧美xxx.com| 亚洲欧美一区二区三区孕妇| 视频小说一区二区| 成人网18入口| 麻豆久久婷婷| 日韩成人在线一区| 中文字幕色av一区二区三区| jizz日韩| 8888四色奇米在线观看| 日韩av一级电影| 免费观看v片在线观看| 999国产精品| 四色永久网址| 蜜臀久久99精品久久久久宅男| 亚洲成人免费av| 成年人在线看| 在线观看视频日韩| 在线看国产一区| 99精品在免费线偷拍| 成人激情免费网站| av成人动漫| 9l国产精品久久久久麻豆| a毛片在线观看| 国产麻豆精品视频| 97超碰在线公开在线看免费| 久久久三级国产网站| 日本无删减在线| 国产宾馆实践打屁股91| 亚洲欧美另类图片| 蜜桃久久av| 91se在线观看| 国产日韩欧美一区二区三区在线观看| 欧美成人精品福利| 天天影视天天精品| 日韩一区和二区| 欧美电影一区| 日本成人免费| 中文在线播放一区二区| 久草在.com| 国产一区白浆| 欧美一区二区三区少妇| 精品一区二区三区香蕉蜜桃| 91xxx在线观看| 成人一道本在线| 69av成人| 一区二区三区蜜桃网| 久久夜色电影| 欧美一区二区三区视频免费播放| 久久亚洲国产| 中国一级特黄毛片大片| 美国欧美日韩国产在线播放| 99re热久久这里只有精品34| av欧美精品.com| 五月激情久久| 色综合天天综合狠狠| 日韩毛片视频| 97在线影院| 国产一区二区中文字幕| 爱看av在线入口| 一区二区三区国产豹纹内裤在线 | av中文字幕在线观看第一页 | 在线激情av| 国产成人精品免费在线| 人人视频精品| 亚洲成人高清在线| 91九色精品| 久久电影视频| 国产精品麻豆99久久久久久| 91精品导航| 午夜网站在线观看| 狠狠色丁香久久婷婷综合_中 | 九七久久人人| 亚洲欧洲国产专区| 亚洲精华一区二区三区| 日本aⅴ中文| 99re8在线精品视频免费播放| 成人做爰视频www| 欧美日韩精品是欧美日韩精品| 亚洲精品专区| 欧美xxxx做受欧美88bbw| 天涯成人国产亚洲精品一区av| 天天超碰亚洲| 免费网站黄在线观看| 亚洲高清不卡在线| 国内自拍一区| 538在线视频| 欧美中文字幕久久| 久久久精品午夜少妇| 欧美激情网站| 日韩久久精品一区| 高清视频一区二区| 久久草在线视频| 国产在线视频资源|