Java Reference
In-Depth Information
Display 18.17
An Action Drawing
(part 3 of 3)
Resulting GUI
(When started)
Resulting GUI
(After clicking the button)
If
wink
has the value
true
, then the eye is drawn as a line, which looks like a closed
eye. If
wink
has the value
false
, then the eye is drawn as an oval, which looks like an
open eye.