public synchronized void addFlavorListener (FlavorListener listener)

Registers the specified FlavorListener to receive FlavorEvents from this clipboard. If listener is null, no exception is thrown and no action is performed.

Parameters:
listener    the listener to be added

See also:
removeFlavorListener, getFlavorListeners, FlavorListener, FlavorEvent

Since:  1.5