Developing a java swing gui that displays time

Assignment Help Computer Engineering
Reference no: EM133218552

Question: 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:

Current time stamps in 1 second intervals
Real-time Traffic light display for three major intersections
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:

The components listed above should run in separate threads.
Loop through the simulation with button(s) providing the ability to start, pause, stop and
continue the simulation.
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)
Assume a straight distance between each traffic light of 1000 meters.
Since you are traveling a straight line, you can assume Y = 0 for your X,Y positions.
Provide the ability to add more cars and intersections to the simulation through the GUI.
Don't worry about physics. Assume cars will stop on a dime for red lights, and continue through
yellow lights and green lights.
Document all assumptions and limitations of your simulation.

Reference no: EM133218552

Questions Cloud

Duplicate-preserving projection : Duplicate-preserving projection on R.A will return {1, 1, 2, 3, 4, 4}, while a duplicate-eliminating projection on R.A will return {1, 2, 3, 4}.
Create two sequence diagrams : Create two Sequence Diagrams that describe the following Use Cases for the Hometown Credit Union and create the Sequence Diagrams above, also update your
Explain the Multicontextual Life Cycle Framework : In this assignment, you will explain the Multicontextual Life Cycle Framework. Complete the "Multicontextual Life Cycle Framework" worksheet
How will split up key management functions of planning : How will you split up the key management functions of planning, organizing, leading, and controlling?
Developing a java swing gui that displays time : Developing a Java Swing GUI that displays time, traffic signals and other information for traffic analysts.
Cisco packet tracer and demonstrate how this can be achieved : Create two sketches: one that schematically depicts TCP's three-way handshake and one that schematically depicts TCP's graceful close.
Create a object of messagedigest class : Create a RESTFul route using the @RequestMapping method to generate and return the required information, which includes the hash value, to the web browser.
Writeup identifying which application you picked : Writeup identifying which application you picked, how you figured out how to make the installer 'silent', and how to used your script from your share
Describe concerns in project management : Describe concerns in project management, including the cultural differences that may potentially occur due to offshoring

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd