By Elma Karen Gunnarsdóttir and Jóhannes Jóhannesson
A project that can make you "login" with your name and then make you chose between a few playlist, and after choosing one you can play the song that are on that playlist. Making the song stop and start, while also seeing the progress of how much of the song has played.
Have the following installed on your system
- Java Development Kit (JDK)
UML Class diagram: here
Maven Compiler Plugin: Maven source 21, version 3.11.0.
JavaFX Maven Plugin:
Version 0.0.8. (Group ID: org.openjfx)
mvn compilecompiles all implementation classes.mvn testruns all test cases (i.e. all classes with a name that either starts withTestor ends withTest). As long as you have not finished implementing all packages, it is better to use the IDE to run individual test cases or package-level test suites.mvn packagecreates a jar file so it can convert to another formatmvn sitegenerates documentation which later can be open in a browser, generated into a target foldermvn exec:javaexecutes the system from the maven command
To be able to load the program there are a few ways, one with maven where you go to Maven -> Plugins -> javafx -> javafx:run
The second way is through PlayerApplication and pressing the run current file in the top right corner. PlayerApplication is the main Class.
If users do not have Maven, the they can run it as the following:
- Package classes and create jar file with: .\creatjar.cmd
- Run the jar file: .\runjar.cmd