This lab examines various components of an interactive Java applet including buttons, scroll bars, and threads. The program is a (simple) simulation of cars moving along a two-lane road. First, make a directory for this lab. There is no need to mail me your lab code this time. 1) copy the files from ~lorenz/cs35-2/highway1/ into your new directory. Compile all of the Java files. You can automate the compile by typing "make" in your lab directory at the prompt. Inspect the makefile in an editor to understand the how dependences among files are specified. 2) load Driver.html into the hotjava browser. Press "GO" to start. Note the two sets of scrollbars: two vertical and three horizontal. (The horizontal scroll bars are not connected to anything yet.) Change the vertical scrollbar positions and observe what happens (hint: count the cars entering a lane over a period of 30 seconds) 3) the left and right mouse buttons convert a segment of highway (gray rectangle) into a road block (black rectangle). The left button makes a permanent road block that can be removed only by clicking on it with the left button. The right button makes a temporary road block that stays in place for about 10 seconds. Place some road blocks and verify that right-button blocks eventually disappear. Note the car's interaction with a road block. 4) examine the program files and identify the code that a) initializes the applet b) creates a "road" c) creates buttons d) responds to button actions e) creates scrollbars f) reads the scrollbar settings g) responds to mouse clicks h) places a permanent road block i) places a temporary road block 5) understand how the BlockTimer.java and Timer.java code works and how a timer thread is started. 6) modify the program so that the settings of the three horizontal scrollbars (named red, green, and blue) determine the color of the car entering the roadway. There is a constructor java.awt.Color(int,int,int) that makes a custom color from the three red/green/blue components. To do this, modify the method getCar (in Driver.java) and the calls to it to take and make a color from the scrollbar settings.