Three kinds of link event

HyperlinkEvents are fired not just when the user clicks the link but also when the mouse enters or exits the link area. Thus you'll want to check the type of the event before changing the page with the getEventType() method:

public HyperlinkEvent.EventType getEventType()

This will return one of the three mnemonic constants

Previous | Next | Top | Cafe con Leche

Copyright 2000 Elliotte Rusty Harold
Last Modified January 28, 2000