爱情鸟第一论坛com高清免费_91免费精品国自产拍在线可以看_亚洲一区精品中文字幕_男人操心女人的视频

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

    爱情鸟第一论坛com高清免费_91免费精品国自产拍在线可以看_亚洲一区精品中文字幕_男人操心女人的视频
    <strike id="bfrlb"></strike><form id="bfrlb"><form id="bfrlb"><nobr id="bfrlb"></nobr></form></form>

        <sub id="bfrlb"><listing id="bfrlb"><menuitem id="bfrlb"></menuitem></listing></sub>

          <form id="bfrlb"></form>

            <form id="bfrlb"></form>

              <address id="bfrlb"></address>

              <address id="bfrlb"></address>
              经典三级久久| 国产亚洲欧美日韩精品| 久久av老司机精品网站导航| 国产精品日韩在线播放| 国产精品一区二区三区乱码| 性xx色xx综合久久久xx| 久久精品国产精品亚洲综合| 亚洲性线免费观看视频成熟| 一区二区亚洲精品| 欧美成人在线免费视频| 99亚洲伊人久久精品影院红桃| 亚洲激情视频| 中文一区二区在线观看| 伊人影院久久| 亚洲私人影院| 国产最新精品精品你懂的| 国产精品久久久久久超碰| 久久精品亚洲热| 亚洲日产国产精品| 久久亚洲免费| 亚洲精品国产精品久久清纯直播| 欧美成人一区在线| 日韩一二在线观看| 91久久久一线二线三线品牌| 国产精品亚洲综合一区在线观看| 亚洲午夜电影在线观看| 久久爱91午夜羞羞| 午夜在线视频一区二区区别| 狠狠综合久久av一区二区小说| 欧美91视频| 一区二区三区在线视频播放| 亚洲一区视频| 欧美激情中文字幕乱码免费| 亚洲高清在线精品| 国产乱码精品一区二区三区忘忧草| 国产在线精品一区二区中文| 免费久久99精品国产| 国产精品乱人伦一区二区| 国产精品久久久爽爽爽麻豆色哟哟| 欧美午夜宅男影院在线观看| 国产欧美日韩另类一区| 久久久国产一区二区三区| 亚洲美女黄色片| 亚洲视频在线观看| 欧美片在线观看| 麻豆av福利av久久av| 亚洲午夜在线观看| 亚洲成人在线视频网站| 国产精品99久久久久久久久久久久| 国产视频在线观看一区二区三区| 国产精品成人免费视频| 国产综合久久久久久鬼色| 亚洲日韩欧美一区二区在线| 欧美视频在线观看| 国产日产欧产精品推荐色| 这里只有精品视频在线| 国产日产精品一区二区三区四区的观看方式| 美女在线一区二区| 美日韩免费视频| 欧美日韩成人精品| 亚洲电影免费观看高清| 国产精品―色哟哟| 久久久蜜臀国产一区二区| 欧美日韩在线观看一区二区| 久久蜜桃精品| 久久久久国产精品一区三寸| 亚洲一区在线直播| 国产精品久久久久久影院8一贰佰| 国产免费成人| 欧美日韩成人在线观看| 一区二区三区久久精品| 国产精品推荐精品| 亚洲一二三区在线| 欧美刺激午夜性久久久久久久| 亚洲老板91色精品久久| 久久人人97超碰人人澡爱香蕉| 久久精品中文字幕一区二区三区| 久久久久国内| 欧美日韩不卡在线| 欧美一区二区性| 在线视频你懂得一区二区三区| 99re66热这里只有精品3直播| 亚洲色图在线视频| 久久精品国产第一区二区三区| 日韩五码在线| 亚洲精品欧美精品| 午夜精品99久久免费| 欧美激情国产日韩| 国产欧美日本一区二区三区| 欧美另类在线播放| 欧美伦理91i| 欧美日韩国产电影| 国产精品国产三级国产专播精品人| 国产欧美日韩免费看aⅴ视频| 伊人男人综合视频网| 亚洲伦理自拍| 久久综合成人精品亚洲另类欧美| 国产亚洲欧美一区二区| 欧美激情亚洲| 国产一区日韩欧美| 欧美精品一区在线发布| 欧美日韩播放| 国产精品国产精品国产专区不蜜| av成人手机在线| 久久精品国产99国产精品| 久久久精品国产免费观看同学| 国产一二精品视频| 国产模特精品视频久久久久| 性伦欧美刺激片在线观看| 欧美jizz19hd性欧美| 欧美午夜宅男影院在线观看| 亚洲电影一级黄| 国模精品娜娜一二三区| 在线看片第一页欧美| 狠狠色丁香婷婷综合| 一区二区久久久久| 亚洲精品在线一区二区| 欧美18av| 国产精品乱码妇女bbbb| 美女主播一区| 翔田千里一区二区| 欧美性大战久久久久| 国产精品久久久久久久久果冻传媒| 亚洲欧美日韩精品一区二区| 久久久久久久欧美精品| 亚洲午夜精品17c| 免费成人在线观看视频| 久久精品国产免费看久久精品| 欧美系列电影免费观看| 一区在线影院| 一区二区欧美激情| 久久国产成人| 久久频这里精品99香蕉| 欧美一区二区三区视频免费播放| 欧美一区亚洲一区| 国产精品萝li| 一区二区日韩免费看| 美国十次了思思久久精品导航| 国产精品欧美精品| 亚欧成人精品| 麻豆av一区二区三区| 欧美精品一区二区三区久久久竹菊| 老鸭窝毛片一区二区三区| 国产亚洲欧美激情| 91久久精品美女高潮| 国内自拍视频一区二区三区| 亚洲裸体视频| 一区二区三区不卡视频在线观看| 欧美日韩国产成人在线91| 欧美亚洲综合网| 性欧美暴力猛交69hd| 欧美激情影院| 欧美与欧洲交xxxx免费观看| 欧美日韩国产精品成人| 国产视频一区二区在线观看| 亚洲激情二区| 欧美极品aⅴ影院| 一区二区三区产品免费精品久久75| 亚洲黄一区二区| 国产精品视频yy9099| 亚洲国产精品成人一区二区| 欧美岛国在线观看| 久久爱91午夜羞羞| 伊人久久久大香线蕉综合直播| 欧美中在线观看| 欧美系列电影免费观看| 在线成人小视频| 国产精品一二三四区| 久久久亚洲欧洲日产国码αv| 欧美专区一区二区三区| 亚洲九九九在线观看| 久久xxxx精品视频| 亚洲九九精品| 欧美成人激情视频免费观看| 美女视频黄a大片欧美| 亚洲综合色丁香婷婷六月图片| 国产精品有限公司| 狠久久av成人天堂| 欧美噜噜久久久xxx| 国产精品久久久久久av下载红粉| 亚洲精品1区2区| 欧美午夜精品久久久久久人妖| 女人香蕉久久**毛片精品| 欧美日韩国产丝袜另类| 亚洲大片一区二区三区| 麻豆国产精品va在线观看不卡| 欧美国产日韩a欧美在线观看| 国产精品免费视频xxxx| 日韩一级片网址| 欧美成人午夜激情| 一区视频在线看| 在线免费精品视频| 久久久成人网| 一本久久综合| 欧美日韩视频一区二区三区| 久久综合狠狠综合久久激情| 久久综合久久综合九色| 欧美午夜精品久久久久久孕妇| 久久久久国产精品一区三寸| 欧美影院视频|