Add a new button displaying LABEL, laid out according to
LAYOUT, which when clicked calls the method named FUNCNAME of
RECEIVER with LABEL as its single String argument.
Add a new button displaying LABEL, placed according to
LAYOUT, which when clicked calls my method named FUNCNAME
with LABEL as its single String argument.
Given two objects with radius R with states P0 and P1 (see the
class documentation for ucb.proj2.Physics, above), compute
the time at which they next collide, assuming that initially,
they are separated by a distance of >= 2R.
A LayoutSpec specifies how an item is to be laid out in a
TopLevel or other graphical container (here, we'll refer to such things
collectively as containers).
Given two objects with P0 and P1 (see the class documentation for
ucb.proj2.Physics, above) that are in collision with each other,
(destructively) modify their velocities as a result of that
collision.
Provides the classes needed to implement a simple graphical user
interface, containing buttons, a menu bar, simple canvases
allowing arbitrary graphics and responding to the mouse or
keyboard, and modal dialogs and messages.