Project 3 Analyze Data

Completado Publicado hace 7 años Pagado a la entrega
Completado 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:

Procesamiento de datos Java

Nº del proyecto: #11666444

Sobre el proyecto

2 propuestas Proyecto remoto Activo hace 7 años

Adjudicado a:

$111 USD en 3 días
(3 comentarios)
1.9

2 freelancers están ofertando un promedio de $111 por este trabajo

ivivek

Hello, This is in response to your job notification for the position of Java Developer.I have been working as a Java developer for the last 4 years with a software firm and mentioned below are some of my a Más

$30 USD en 3 días
(13 comentarios)
4.0
staragent

Hi I saw your post very carefully. I understand your req but have only 1 question. I have much experience of Java and have many super experts. No one who beats with me in these skills. I will be looking forward to Más

$222 USD en 4 días
(1 comentario)
0.6
ztv

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

$150 USD en 5 días
(6 comentarios)
0.0
saroshtariq87

I am fast and accurate, with a keen eye for detail and I should be very grateful for the opportunity.

$111 USD en 3 días
(0 comentarios)
0.0