Homework Assignment #3

NAME: _________________________________________________________

DATE:  ______________

Assignment:  Items worth 2 points unless otherwise specified

  1. ___ Print out this page, delete the ad at the top of the page, and put your name and the date on top on top.
  2. ___ Create a interface that looked like the one on the board in class, or at the bottom of this page.
  3. ___ Create a label for taking the  answers from the buttons
  4. ___ Create a TextField box which takes a number from the user.
  5. ___ Create a button, labeled half - which will take the number from the TextField, and put half of that value into the label.
  6. ___ Create a button, labeled double, which will take the number from the TextField, and put double that value in the label.
  7. ___ Create a button, labeled, random, that places a random value in the label, and moves the label to a random location.  NOTE: It should still, always be visible on the screen.
  8. ___ Create the appropriate HTML page for viewing the applet.

Description of interface:

LABEL

 

-- Good Luck.