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 au Lait

Copyright 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified January 28, 2000