1. (20 points) 4 points per question.

  2. (80 points) Slider application
    1. Presentation
      1. (20 points) The elements of the slider view are correctly displayed (i.e., decrement button is on the left side of the display, the increment button is on the right side of the display, and the slider is in the middle of the display)
      2. (5 points) Value label is on top of the display
      3. (5 points) The initial default value of the slider corresponds to the default value provided by the user
    2. Behavior
      1. (4 points) Slider's value ranges from the minimum to the maximum value provided by the user
      2. (10 points) Value label updates when the slider is moved
      3. (4 points) Increment button increments the slider value by the amount specified by the user.
      4. (4 points) Decrement button decrements the slider value by the amount specified by the user.
      5. (5 points) When the increment/decrement button is clicked, the value label is updated
      6. (4 points) When the slider value is not at its maximum/minimum value and the increment/decrement button would cause the slider to move outside its acceptable range, the value is incremented/decremented to the maximum/minimum value.
      7. (4 points) When the slider value is at its maximum/minimum value and the increment/decrement button would cause the slider to move outside its acceptable range, the dialog box is popped up with an appropriate error message.
    3. (15 points) Program Design
      1. (5 points): Each of the two views uses its own JPanel
      2. (10 points): Your judgement--If you see things that look egregiously bad, make appropriate deductions.