Microsoft SDK for Java

Debug.addOnDisplayMessage

Adds an event handler to display debug information to the user.

Syntax

public static synchronized void addOnDisplayMessage( DebugMessageEventHandler handler )

Parameters

handler

The DebugMessageEventHandler delegate to route debug messages to.

Remarks

The event handler will be called in response to the Debug.print or Debug.println statements. The default behavior of the Debug class is to send this information to System.out.

See Also   removeOnDisplayMessage

© 1999 Microsoft Corporation. All rights reserved. Terms of use.