Project 2 - Math 599: Java Programming

Assigned: July 3, 1997.
Due: July 10, 1997.

  1. Colored Things: Using the HelloWorld3bis.java program as a model, write a Java Applet that displays in its canvas selectable coloed geometric forms, such as a red circle, a blue square, or a yellow triangle. Select the geometric figure to display using a row of buttons across the top of the applet window.

    Place your finished ColoredThings.java, ColoredThings.html and needed classes in your public_html so I may grade it.

  2. English to Metric: Using the Greetings.java applet as a model, write an applet which converts various units of measurements between English and Metric. Use the radio buttons to select the units of conversion, one textField for English measurements, the other for Metric measurements, and automatically decide which way the conversion is to proceed.

    (If that's not clear to you, then use buttons to direct the recalculation.)

    Place your finished EnglishToMetric.java, EnglishToMetric.html. and needed classes in your public_html so I may grade it.