EE-WEB Assignment 6

Program 1, 30pts.

Write a program that can run both as an application and as an applet. The program should work as resistor color code translator.

The program GUI should have:

The program should do:

Please note that you will have to learn two new event handlers: ItemListener and TextListener. Figuring out how to use them is a part of the assignment.

Extra Credit, 10pts.

Add the fourth choice for the resistor tolerance. Read the tolerance fromt he text field as 2%, 5%, 10% or 20%. No tolerance specified in the text field means 10%. No tolerance specified in choice means 20%

Homework Submission

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 Web pages (HTML), dynamic Web pages (HTML, JavaScript, 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 at olekmali at cegt201.bradley.edu. Please set the message subject to: web-hw6.

Thank you.

web site front local main page local list page print this page   general bookmarks software bookmarks go back close this page copyright info   visitor counter