Project 3 Analyze Data
$30-250 USD
Pagado a la entrega
Implement threads and a GUI interface using advanced Java Swing classes.
The project will be graded according the criteria for the final project - see below.
Elaboration:
Required data the data structure specified in Project 1:
World has SeaPort's
SeaPort has Dock's, Ship's, and Person's
Dock has a Ship
Ship has Job's
PassengerShip
CargoShip
Person has a skill
Job requires skills- NEW CLASS for this project!
PortTime
Extend Project 2 to use the Swing class JTree effectively to display the contents of the data file.
(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 job representing a task that ship requires.
Use the synchronize directive to avoid race conditions and insure that a dock is performing the jobs for only one ship at a time.
the jobs of a ship in the queue should not be progressing
when all the jobs for a ship are done, the ship should leave the dock, allowing a ship from the que to dock
once the ship is docked, the ships jobs should all progress
in Project 4, the jobs will also require persons with appropriate skills.
The thread for each job should be started as the job is read in from the data file.
Use delays to simulate the progress of each job.
Use a JProgressBar for each job to display the progress of that job.
Use JButton's on the Job panel to allow the job to be suspended or cancelled.
As before, the GUI elements should be distinct (as appropriate) from the other classes in the program.
See the code at the end of this posting for some suggestions.
Suggestions for Project 3 Job class. Here is a sample of code for a Job class in another context, the Sorcerer's Cave project. The code for this class will need some modifications, but this should give you an idea of the issues involved.
In fact, you should find much of this code redundant.
Also, some of the code at the following sites might give you some ideas about how to proceed with this project:
Nº del proyecto: #11666444
Sobre el proyecto
Adjudicado a:
2 freelancers están ofertando un promedio de $111 por este trabajo
Consider it done! Highly interested with your project and im ready to start right now. My completion rate is always 100% and I only bite what I can chew. Knock me please You may find me over skyp: pewqil
I am fast and accurate, with a keen eye for detail and I should be very grateful for the opportunity.