This time the assignment is short and simple because of coming fall break. Please write an clock program that can be run both as an aplication and as an applet.
Your clock should have default background color and font color and size. however, in case of an applet, that information could be overwritten by the applet parameters posted in the HTML. Make the time updated once a second and centered in the applet frame. You can use a label or overwrite paint() function. Also you must show that you can develop a program that uses threads. (Even though the alarm clock actually can be done withou explicit use of threads.)
Attach all source code in files with proper names and extensions (*.html, *.java, *.pl, *.php, .htaccess e.t.c.). Do not ZIP files together or include compiled files (e.g. *.class). In case of dynamic Web pages (JavaScript or CGI) or Java applets also send the complete URL (including http://) that points to a page on your Web site that demonstrates your homework. Send your homework via e-mail to the instructor. Please set the message subject to: web-hw6.
Thank you.