The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
I need to complete project 2. I am having trouble making the coding work.
Â
Project PhilosophySeaPorts ProjectDate: July 10, 2016by Nicholas Duchon•Additional resourcesOutline:•Introduction•General Objectives•Documentation•Project 1•Data File Format•Suggestions•Project 2•Project 3•Project 4•Grading•Hints•Files in packageIntroduction - the SeaPort Project seriesFor this set of project, 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•variables used by the GUI interface•world: World•Thing implement Comparable <Thing>•index: int•name: String•parent: int•World extends Thing•ports: ArrayList <SeaPort>•time: PortTime•SeaPort extends Thing•docks: ArrayList <Dock>•que: ArrayList <Ship> // the list of ships waiting to dock•ships: ArrayList <Ship> // a list of all the ships at this port•persons: ArrayList <Person> // people with skills at this port•Dock extends Thing•ship: Ship•Ship extends Thing•arrivalTime, dockTime: PortTime•draft, length, weight, width: double•jobs: ArrayList <Job>•PassengerShip extends Ship•numberOfOccupiedRooms: int•numberOfPassengers: int•numberOfRooms: int•CargoShip extends Ship•cargoValue: double•cargoVolume: double•cargoWeight: double•Person extends Thing