Mid Term Project

This applet demonstrates Java's threads and parsing of a numeric input field. Enter a number in the delay input field. Then press the start button or choose start under the file menu. This will place a blinking circle on the page that blinks at a rate equal to the number of milliseconds entered in the input field. The blinking can be stopped and resumed by pressing the button again or by choosing stop or resume under the file menu.  Entering a new value into the input field will change the blink rate. The blink rate will change to this new rate after the resume button is pressed.

This applet is enhanced over project 3 in that it has a menu and uses a model dialog box to inform the user of invalid input. Enter invalid data to see what happens. To exit the applet either choose exit under the file menu or click on the x in the upper right hand corner.  

 

Hosted by www.Geocities.ws

1