Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Traffic simulation java source code

27/10/2021 Client: muhammad11 Deadline: 2 Day

Java

Overview

In this project you will construct a Java Swing GUI that uses event handlers, listeners and incorporates

Java’s concurrency functionality and the use of threads. The following book may be useful to help you

become comfortable with Thread processes.

https://learning.oreilly.com/library/view/java-7-concurrency/9781849687881/index.html

You should focus on the first 4 chapters.

If you have previously signed up for the Safari account you don't need to sign-up again. Just use this link:

https://learning.oreilly.com/accounts/login/?next=/library/view/temporary-access/

If you have not previously requested a Safari account follow the details on this page to sign-up for your Safari Account:

https://libguides.umuc.edu/safari

You'll need to sign in using your UMGC student email account. Once you sign in, you'll have immediate access to the content, and you'll shortly receive an e-mail from Safari prompting you to set up a password and complete your account creation (recommended).

Students: Your UMUC e-mail account is your username + @student.umuc.edu (example: hsolo2@student.umuc.edu).

In addition, a zip file is included that includes several Oracle Java files that use different types of Swing

components as well as threads. I recommend going through the reading and the examples to become

familiar before attempting the final project.

Assignment Details

As a new engineer for a traffic congestion mitigation company, you have been tasked with developing a

Java Swing GUI that displays time, traffic signals and other information for traffic analysts. The final GUI

design is up to you but should include viewing ports/panels to display the following components of the

simulation:

1. Current time stamps in 1 second intervals

2. Real-time Traffic light display for three major intersections

3. X, Y positions and speed of up to 3 cars as they traverse each of the 3 intersections

Some of the details of the simulation are up to you but the following guidelines will set the guardrails:

1. The components listed above should run in separate threads.

2. Loop through the simulation with button(s) providing the ability to start, pause, stop and

continue the simulation.

https://learning.oreilly.com/library/view/java-7-concurrency/9781849687881/index.html
https://learning.oreilly.com/accounts/login/?next=/library/view/temporary-access/
https://libguides.umuc.edu/safari
mailto:hsolo2@student.umuc.edu)
3. You will need to use basic distance formulas such as distance = Speed * time. Be sure to be

consistent and define your units of measure (e.g. mile/hour, versus km/hour)

4. Assume a straight distance between each traffic light of 1000 meters.

5. Since you are traveling a straight line, you can assume Y = 0 for your X,Y positions.

6. Provide the ability to add more cars and intersections to the simulation through the GUI.

7. Don’t worry about physics. Assume cars will stop on a dime for red lights, and continue through

yellow lights and green lights.

8. Document all assumptions and limitations of your simulation.

Submission Requirements:

1. Submit all of your Java source files (each class should be in a separate .java file). These files

should be zipped and submitted with the documentation.

2. UML class diagram showing the type of the class relationships.

3. Developer’s guide describing how to compile and execute the program. The guide should

include a comprehensive test plan that includes evidence of testing each component of the

menu with screen captures and descriptions supporting each test. Documentation includes

Lessons learned.

Your compressed zip file should be submitted to the Project 3 folder in LEO no later than the due

date listed in the classroom calendar.

Grading Rubric:

Attribute Meets

Design 20 points Designs a Java Swing GUI that uses event handlers, listeners and incorporates Java’s concurrency functionality and the use of threads.

Functionality 40 points Contains no coding errors. Contains no compile warnings. Constructs a Java Swing GUI that uses event handlers, listeners and incorporates Java’s concurrency functionality and the use of threads Include viewing ports/panels to display the following components of the simulation:

1. Current time stamps in 1 second intervals 2. Real-time Traffic light display for three major intersections 3. X, Y positions and speed of up to 3 cars as they traverse each of the

3 intersections The components run in separate threads.

Loop through the simulation with button(s) providing the ability to start, pause, stop and continue the simulation. Provides the ability to add more cars and intersections to the simulation through the GUI.

Test Data 20 points Tests the application using multiple and varied test cases.

Documentation and submission

20 points Source code files include header comment block, including file name, date, author, purpose, appropriate comments within the code, appropriate variable and function names, correct indentation. Submission includes Java source code files, Data files used to test your program, Configuration files used. Documentation includes a UML class diagram showing the type of the class relationships. Documentation includes a user's Guide describing of how to set up and run your application. Documentation includes a test plan with sample input and expected results, test data and results and screen snapshots of some of your test cases. Documentation includes Lessons learned. Documents all assumptions and limitations of your simulation. Documentation is in an acceptable format. Document is well-organized.

The font size should be 12 point.

The page margins should be one inch.

The paragraphs should be double spaced.

All figures, tables, equations, and references should be properly labeled and formatted using APA style.

The document should contain minimal spelling and grammatical errors.

Any submissions that do not represent work originating from the student will be submitted to the

Dean’s office and evaluated for possible academic integrity violations and sanctions.

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Unique Academic Solutions
Calculation Guru
Quick N Quality
Coursework Helper
Top Class Engineers
Instant Assignments
Writer Writer Name Offer Chat
Unique Academic Solutions

ONLINE

Unique Academic Solutions

I have done dissertations, thesis, reports related to these topics, and I cover all the CHAPTERS accordingly and provide proper updates on the project.

$16 Chat With Writer
Calculation Guru

ONLINE

Calculation Guru

Being a Ph.D. in the Business field, I have been doing academic writing for the past 7 years and have a good command over writing research papers, essay, dissertations and all kinds of academic writing and proofreading.

$40 Chat With Writer
Quick N Quality

ONLINE

Quick N Quality

I have done dissertations, thesis, reports related to these topics, and I cover all the CHAPTERS accordingly and provide proper updates on the project.

$22 Chat With Writer
Coursework Helper

ONLINE

Coursework Helper

I can assist you in plagiarism free writing as I have already done several related projects of writing. I have a master qualification with 5 years’ experience in; Essay Writing, Case Study Writing, Report Writing.

$38 Chat With Writer
Top Class Engineers

ONLINE

Top Class Engineers

This project is my strength and I can fulfill your requirements properly within your given deadline. I always give plagiarism-free work to my clients at very competitive prices.

$48 Chat With Writer
Instant Assignments

ONLINE

Instant Assignments

I have read your project description carefully and you will get plagiarism free writing according to your requirements. Thank You

$45 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Each place value in a binary number represents ____ raised to the appropriate power. - Maersk compensation philosophy - FIN/571: Corporate Finance - Earl schultz strategic money management - Mass times velocity squared divided by 2 - Business process in sap fico - Jktenders gov in login - How to create a cost benefit analysis in excel - Schroder pension management limited - Comparative vertebrate anatomy exam questions - Hulc led process high cpu utilization 3750x - Key west lime pie company the profit - What factors affect the motion of a projectile launched horizontally - Techniques of transaction exposure management - Apple bonds coupon rate - Programming models and workloads for warehouse scale computers - Assignments - Blades inc case - Bus Cont Plan&Disas Recov Plan - Who can abnormally terminate a sprint - Essay quality - Case study on international human resource management with solution - Pr social media assignment - Bone Diseases - Client consultation form hairdressing - Table 1 galaxies to be classified answers - Discuss the primary manner in which the concepts of this course can be applied to your current or future work position. - X 6y 12 solve for y - Hans and zacharias janssen cell theory timeline - Section 248b corporations act - Vendor Management - Proposal - Miles and snow's adaptive strategies - Water wise products water corp - Yes virginia there is a santa claus rhetorical analysis - Hoffman corporation issued $60 million of 5 - Cheyenne regional medical center human resources - Novena prayer to st ignatius of loyola - Event id 3036 mapi cannot be accessed - Unethical Advertising - Bullet in the brain questions and answers - Smith & hawken estate size curled wreath white 30 - Electrical conductivity of compounds - Hih 4000 humidity sensor - Strategic plan part 3 balanced scorecard - Annotated BIB - Social Determinants of Health Discussion - Lead and manage effective workplace relationships case study - Construction industry institute membership - Globalization at general electric case study answers - Which of the following statements about cash versus accrual accounting is most correct? - Bus 390 - Texas a&m toefl requirement - The odyssey study guide guided reading questions answers - $5 for who can do - Positive and negative aspects of a magnificent catastrophe - Ensign amendment - Week 1 Discussion - Propaganda in harrison bergeron - Explain why you want to attend the pharm.d. program at usc. - Medical teams international volunteer - Bad food tax it and subsidize vegetables annotation - Bulk up fast book - Richard hillis heart attack - Homework Help - Australian steel design code - Hybrid penny pilot program cboe - Challenger moodle login - Discussion - 5 finger rule reading - Term Presentation and Paper - Delphi printer simulation scenario a - Writing assignment - Submission identifying your thesis - Assignment 1 reviewing research and making connections - Mcgraw hill connect accounting homework answers chapter 9 - Analyze - Rip van winkle positive message - The interesting narrative of the life of olaudah equiano questions - Mt baw baw snow cam - Tic tac toe flowchart design - Acara geography year 3 - Dots in la mer crossword clue - Wk 3 acct - 5 main ideas of the particle theory - Apc pro 900 ups - Music coordinator action plan - Homegoing gradesaver - Discussion - Dorothea Orem theory case study - Week 9 Discussion - Skyactiv g 2.0 problems - Food regulation 2015 nsw - Joy luck club food - The Aeneid Response Paper - Comm 160 final editing assignment - Diagram of the reflex arc - Terrorist Organizations - Canyon s23 vcls cf 25 mm setback - Case Study