University of Stirling
Computing Science and Mathematics
CSCU9P2Java assignmentSpring 2023
Simple interactive album archives
Deadline: Friday 5 May 2023,12:00 PMWorth: 50% offinalmarkThis description and the starter code can be found on the VLEPlease read this document right through before starting your work.
Introduction
In this assignment you will be completing aJava program that runs a very simpleinteractive album archives - as in the
example shown to the right: The programholds the album name and other details fora collection of album archives. One album
is always displayed (unless the album
archive is empty), and the navigation
buttons at the top can be used in aconventional way to step back and forthamongst the albums - these aspects of theprogram are complete. In the lower half ofthe window there are buttons and textfields for more advanced functions formanaging the album archives - it is themethods and algorithms that implementthese functions behind the scenes that youare required to complete.
You are given an almost-complete Java
program,AlbumArchives.java. on the VLE
国 My Album Archive
Navigation: <<>
Album Archives
Abbey RoadThe BeatlesGENRE: RockRELEASE DATE: 1969
Add new albumDelete albumDelete all
Show all albumsFind album by name
Sort by album nameSort by artist name
New/find album:
New artist
New date
New genre:
page, you must take your own copy of this
program to work on in a BlueJ project in the usual way.
The user interface and event handling are fully complete and correct, and you must
not change them.
Behind the scenes, inside the program, the album archives is held in a collection oarravs - again the arravs are complete and vou must not change their declarationsThe event handlers for the advanced function buttons call seven different methodwhose purpose is to access or update the data held in the arrays (for example todelete the currently selected album), These methods are present in the code but arincomplete. and it is vour task to completeas manv of them as vou can: to functior
CSCU9P2编程和用户界面设计(Programming and User Interface Design)
最新推荐文章于 2024-07-22 15:41:09 发布