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

  List and in brief describe the five-component model of an

list and briefly explain the five-component model of an information system. how can you use them?your response should

  Write an open frameworks program to generate a random

Write an open frameworks program to generate a random each to walk. At step, toss a coin determine if you move right/left or up down.

  Fraction insimplest form

A spinner has5equally sized sections,3of which are gray and2of which are blue. The spinner is spun twice. What is theprobabilitythat the first spin lands on gray and the second spin lands on blue ? Write your answer as a fraction insimplest form.

  Protecting the computing environment

Does protecting a computing environment merely mean protecting those five components? Explain why?

  Calculate roots in the interval of single quadratic equation

Write a program that calculates roots in the interval of a single quadratic equation.

  Categorizing the threat

Download a password cracker developed for your operating system. Run the cracker on your system. Describe the results from cracker.

  How many gas stations are there in the united states

How many gas stations are there in the United States? How many people fly in and out of LaGuardia Airport every day?

  Create a file with your own name

Create a file with your own name. Store the followinh information on the created file

  Discuss pros and cons of cloud-based backup operations

Write a paper on disaster recovery and business continuity. The following are the items to discuss in the paper: Discuss pros and cons of cloud-based backup.

  Design the decoding circuitry

Arrange the 16 chips needed in the design of Problem (b) as a 4 x 4 array and design the decoding circuitry.

  Post descriptions of the tools and links to the tools

Research 2 log parsing tools. These are tools that will help you read logs more effectively. Post descriptions of the tools and links to the tools.

  Which security goal was violated by the it director

Which security goal was violated by the IT Director? What plan would you suggest to Sally to meet the above security controls requirements? Justify your answer

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