Copyright © - Sudharsan Iyengar
CS 410, Fall 2024 Individual/Pair Programming Project Due:Midnight
- 9/9/2024
Simulation
of a Radar Screen
Input: A text file with pairs of co-ordinates
representing points on a plane.
These are points of
interest – to be highlighted on a simulated radar screen.
Simulation Screen:
A Window simulating a radar screen,
with a sweep line.
When this
sweep-line encounters the coordinates of a point of interest
the point is displayed/highlighted
to indicate its presence.
Control Screen:
An input screen for the Radar Application where the
user can select a choice of sweep (Horizontal, Vertical, or Circular)
The input screen also allows
the user to choose a file for input coordinates.
Assumptions: You
will need to use java.awt package.
Scale the radar window
and points for display
Horizontal sweep – sweeps from
bottom-up.
Vertical sweep – sweeps
left to right.
Anticlockwise circular
sweep.
Radar Application:
Uses file name
selected on the control screen.
Reads the coordinates
and builds a list of points from the file.
Use the selected sweep
type selected on the control screen.
Displays the radar
screen simulating the sweep selected.
Iterates for a
different file and/or for a different sweep type.