The TclJava class hierarchy:
In this example, the classes TclTest, Callback1 and Callback 2 show how to use this interface. Refer to the source code for more information.