首页 > > 详细

辅导Java设计、Java for (C) Programmers 调试、调试Java、Java语言辅导留学生、辅导Java编程


Introduction

This is an indivi dual assi gnment and worth 20% towards y our fi nal grade.

You are required to ex tend the applicati on y ou buil t in Assi gnment 1 by addi ng on a Graphical Us er Interfac e for
certain func tionaliti es , and file-bas ed c apabilities for saving and re-loadi ng i nformati on.

This as signment is designed to:
 Practise y our k nowl edge of GUI desi gn and i mpl ementati on in Jav a;
 Practise ev ent-driv en programmi ng i n J av a;
 Practise the us e of collec ti ons;
 Practise the us e of file IO i n J av a.

Academic Integrity [more]

The s ubmi tted assi gnment must be y our own work. No marks will be awarded for any parts whic h are not
created by y ou.

Plagi arism is treated v ery s eriously at RMIT. Plagi arism i ncl udes c opying c ode directly from other students,
internet or other res ourc es without proper referenc e. S ometi mes , s tudents study and work on assi gnments
together and s ubmi t si milar files whic h may be regarded as pl agiaris m. Pl eas e note that y ou s houl d al way s create
your own assi gnment ev en if y ou hav e v ery si milar i deas.

Plagi arism-detecti on tools will be us ed for all s ubmissi ons. P enal ties may be applied in c as es of pl agiaris m.

Important Notes

 You are to ex tend the v ersion of A ssignment 1. You may modify y our i mpl ementati on i n y our
as signment 1 if y ou wis h to do so (Pl eas e mai ntai n the s ame group as assi gnment 1) .
 The as s ess ment is mai nly on the extensi on parts. You need to and c arefully doc ument which of the
behind-the-GUI functi ons that do not properly work if they are inherited from y our As signment 1.
- If y ou didn’t s ubmit y our as signment 1, then y ou will need to i mpl ement at least s ome basic obj ec ts to
support runni ng the games of Ozly mpic. Contac t the Lec turer as s oon as pos sibl e.
 Proper i nput v alidation s houl d be i mpl emented.
 Your c odi ng style. s hould be c onsis tent with J av a c oding c onv entions.
 You should include comments to explain your code.
 Mak e s ure y ou test y our programs on this machine before y ou mak e the s ubmissi on.
 Pleas e include screenshots of a successful run i n y our s ubmi ssi on.

Part A: Graphical User Interface

You are to build a GUI for the followi ng func tionalities of y our Ozlympi c game applic ati on. The sc ope of the GUI is
required to handle :
 add an athlete into a game,
 run three games (running, swi mmi ng and cy cling) via the G UI,
 dis pl ay the res ults of the three game,
 displ ay the sc ore of eac h athl ete,
 file handling s upport (s ee P art B).

The GUI c oul d be i mpl emented as a si ngle window with three tabs.


Marks are also alloc ated for us er-friendliness of the GUI.


Part B: File Handling

Your application should save information for game events, athletes to file(s) via SAVE/EXIT buttons. Previous
saved athlete information and game results can be reloaded when the application is restarted via a command-line
argument - i.e. when you start the application, you can specify filename(s) as command-line argument(s), which
are used to initialise state of the application to be the same as when last saved.

You s houl d s av e all required information to tex t fil e(s) acc ordi ng to the s ampl e file format.
You need to s ubmit the text fil es y ou hav e dev el oped along wi th the s ubmis sion for marki ng obj ec tiv e.

Submission

Submissi on s houl d be made vi a W ebLearn by 9:00A M M onday 16th O c tober 2017. You c an s ubmi t y our
as signment as many ti mes as y ou want before the due date. The l as t s ubmi ssion will ov erwrite the previ ous .


You s houl d arc hiv e y our s ourc e c ode and s ubmit as a “zip” file (no RA R or 7-Zi p).


You mus t provide cl ear ins truc tions on how to start up y our program with at least s ome s av ed data. If y ou are
unabl e to get fil e-loadi ng worki ng, then write an initi alis e() method that adds s ome athl etes, game ev ents at
startup, so that mark ers c an test y our applicati on via y our GUI.


Pleas e do NOT s ubmi t c ompiled files (*.cl as s files).


Late s ubmissions will inc ur a penalty of 10% per day. S ubmissi ons made 5 days after the due date will rec eiv e no
marks .


Extensi ons will onl y be permitted in exc eptional circ ums tanc es . W orkl oad and/or heav y l oad of as signments will
not be acc epted as ex c epti onal circ ums tanc es for an extensi on.

Extra Information

Up to 3 marks will be awarded to exc eptional good and us er-friendly GUI i mpl ementati on s uc h as a well-
desi gned menu, file sel ec ti on di alog, ani mati on s howi ng game s tatus , etc. Using of 3rd party library is
disc ouraged. Please do not i mpl ement any of thes e adv anc ed GUI unless y ou hav e finis hed all other as signment
requirements .

联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!