Implement a threads and a GUI interface using advanced Java Swing classes.
The project will be graded according the criteria for the final project -.
Elaboration:
1. Required data structure - the advanced data structure I want you to implement is a multi-tree with the following levels:
a. Cave - level 0
b. Party - Level 1
c. Creature - Level 2
d. Artifacts - Level 3
e. Treasures - Level 3
f. Jobs - Level 3 - NEW CLASS for this project!
2. Extend Project 2 to use the Swing class JTree effectively to display the contents of the data file.
o (Optional) Implement a JTable to also show the contents of the data file. There are lots of options here for extending your program.
Threads:
- Implement a thread for each jobrepresenting a task that creature will perform.
- Only one job should be progressing for each creature at any moment.
o Use delays to show the creature doing the task.
o Use a JProgressBar for each creature to show the creature performing the task.
o Use JButton's on the JProgressBar to allow the task to be started suspended and cancelled.
As before, the GUI elements should be distinct from the other classes in the program.