An HTML like label which can be a graphic and/or text which responds to rollovers and clicks.
When a hyperlink is clicked/pressed isVisited
becomes true
. A Hyperlink behaves
just like a Button
. When a hyperlink is pressed and released
a ActionEvent
is sent, and your application can perform some action based on this event.
Example:
Hyperlink link = new Hyperlink("www.oracle.com");
extends