Assignment 1 for Prog2 in Java OOP at Department of Computer and Systems Sciences (DSV), Stockholm University
A small Java OOP assignment using JavaFX to register different kinds of valuables and displaying them in a sorted order.
The Valuable class must be abstract and extended by the classes Appliance, Stock, Jewellery implementing their own getValue() and toString(). These 3 types of valuables should be added to the register through a separate dialogbox. Also there should be the possibility to cause a stock market crash whereby nullifying the current value of all current registered stock shares by setting their rate to 0, not affecting any subsequent stocks added. There must exist a possibility to change the VAT to be fully implemented in a "future" release.
Added extra functionality beyond the requirements for practice purposes:
- tooltip support added
- displaying all items in a tabular fashion
- sorting by name in ascending and descending order
- sorting by value in ascending and descending order
- deleting all valuable items of a certain type
ver 2.0 - Added deletion of items of a certain type. Translated program to english.
ver 2.1 - Added errorhandling if number input is 0 or negative. Displays message if list of valuables is empty.
