Computer Science 252
Problem Solving with Java

Fall 2013, The College of Saint Rose

Lecture 4: More Complex Dragging, Defining Classes
Date: Thursday, September 19, 2013


Agenda

Lecture 4 Assignment

Due at the start of class, Tuesday, September 24.

Please submit answers to these questions in Submission Box under "LA4" by the start of our next class. We will discuss these questions at the start of class, so no late submissions are accepted. Please be sure that your name is clearly indicated in all submissions.

Write a program called ElapsedTime that displays, in a Text object on the canvas, the number of seconds between the most recent two mouse clicks. Recall that System.currentTimeMillis returns the number of milliseconds since some fixed time in the past. (10 points)

Examples