Project 4 Introduction the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define: SeaPortProgram extends JFrame . o variables used by the GUl interface o world: World Thing implement Comparable
o index: int name: String o parent: int .World extends Thing o ports: ArrayList time: Port Time .SeaPort extends Thing o docks: ArrayList o que: ArrayList I/ the list of ships waiting to dock o o ships: ArrayList I a list of all the ships at this port persons: ArrayList //people with skills at this port o . Dock extends Thing o ship: Ship Ship extends Thing o arrivalTime, dockTime: PortTime o draft, length, weight, width: double o jobs: ArrayList . PassengerShip extends Ship o numberOfOccupiedRooms: int o numberOfPassengers: int o numberOfRooms: int . CargoShip extends Ship o cargoValue: double o cargoVolume: double o cargoWeight: double . Person extends Thing o skill: String . Job extends Thing optional till Projects 3 and 4 o duration: double o requirements: ArrayList // should be some of the skills of the persons PortTime o time: int Eventually, in Projects 3 and 4, you will be asked to show the progress of the jobs using JProgressBar's. Project 4 Introduction the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define: SeaPortProgram extends JFrame . o variables used by the GUl interface o world: World Thing implement Comparable o index: int name: String o parent: int .World extends Thing o ports: ArrayList time: Port Time .SeaPort extends Thing o docks: ArrayList o que: ArrayList I/ the list of ships waiting to dock o o ships: ArrayList I a list of all the ships at this port persons: ArrayList //people with skills at this port o . Dock extends Thing o ship: Ship Ship extends Thing o arrivalTime, dockTime: PortTime o draft, length, weight, width: double o jobs: ArrayList . PassengerShip extends Ship o numberOfOccupiedRooms: int o numberOfPassengers: int o numberOfRooms: int . CargoShip extends Ship o cargoValue: double o cargoVolume: double o cargoWeight: double . Person extends Thing o skill: String . Job extends Thing optional till Projects 3 and 4 o duration: double o requirements: ArrayList // should be some of the skills of the persons PortTime o time: int Eventually, in Projects 3 and 4, you will be asked to show the progress of the jobs using JProgressBar's