spin.demo.async

Class AsyncGUI

Implemented Interfaces:
AsyncListener

public class AsyncGUI
extends JPanel
implements AsyncListener

A demonstration of a GUI handling an async bean. Note that this class uses spin.off.ListenerSpinOver to automatically spin-over a listener to async events.

Constructor Summary

AsyncGUI(AsyncBean anAsyncBean)
Constructor.

Method Summary

void
finished(int number, long duration)
static void
main(String[] args)
Entrance to this demo.

Constructor Details

AsyncGUI

public AsyncGUI(AsyncBean anAsyncBean)
Constructor.

Method Details

finished

public void finished(int number,
                     long duration)
See Also:
AsyncListener

main

public static void main(String[] args)
Entrance to this demo.