![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
ASPaint is an implementation of a shared whiteboard. This example is provided only for Java and .NET.ASPaint showcases various features of ActiveSpaces, but is not designed to be used as a template for coding best practices.To get a full understanding of ASPaint, launch more than one instance of the program so that you can see the eventing aspect of ActiveSpaces in action.In Java, you can start ASPaint in two ways:
1.
2.
Starting ASPaint using the -jar option requires that you start ASPaint from the AS_HOME/examples/java directory, because the manifest in ASPaint.jar looks for lib/as-common.jar in the current directory.AS_HOME\examples\dotnet\ASPaint.exeWhen you invoke ASPaint, you are prompted to enter the following metaspace connection attributes:ASPaint displays a window that allows you to draw into a "whiteboard." The interface is similar to the MS Paint interface.ASPaint creates a space named paint. The ASPaint example requires that two seeders be connected to the paint space before you can use the tools to draw or enter text on the whiteboard. Therefore, you should start a second instance of ASPaint.When both instances of ASPaint are running, what you draw on the whiteboard of one ASPaint instance is automatically reflected on the whiteboard of the second ASPaint instance.If you check the Seeded check box, the command window indicates when a member joins or leaves the metaspace.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |