You have been hired by a small unit research team from a University. The project manager wants you to use Java programming to produce a very light simulation of Music Player software called SMP (Simple Music Player) which simulate some of the real world systems such as Real Player or Window Media Player (figure 1). See image.
In the initial of requirement analysis stage, you had examined and performed some literature research on existing similar systems. You had identified some of the indispensable features and produced a draft Use Case diagram as shown in figure 2. See image.
Use Case 1- Show PlayList
The user is able to display all the PlayList details and performs some necessary function
User able to display all the track details.
User able to display a single track details such as rating, play count and length when a particular valid track no was entered.
If the track number is invalid, an error message is displayed instead.
Enter a track number and click a button to add that track to a playlist. If the track number is valid, the track name should be added to the list and all the names in the list should be displayed in a text area, otherwise a suitable error message should be displayed.
Click a button to play the playlist – since this is just a simulation no music will be played, but each track on the playlist should have its play count value incremented by 1.
Click a button to reset the playlist and clear the text area.
The user is able to perform: Enter a track number and a new rating. If the track number is valid, a message showing the track name, the new rating and the play count should be displayed, otherwise a suitable error message should be displayed. See image.
Use Case 4- Sort Play List
The user is able to sort the entire play list. Sort the play list according to the play count or rating. See image.
Miscellaneous Implementation
You are also required to produce a main interface to integrate all the features of this simulation prototype. See image.
The Playlist data should be persisted and stored it in the local file system. The existing data will be loaded to the program again for the future application.
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference
and should not be submitted as is. We are not held liable for any misuse of the solutions.
Please see the frequently asked questions page
for further questions and inquiries.
Kindly complete the form.
Please provide a valid email address and we will get back to you within 24 hours.
Payment is through PayPal, Buy me a Coffee
or Cryptocurrency.
We are a nonprofit organization however we need funds to keep this organization operating
and to be able to complete our research and development projects.