This
demo application doesn't look impressive at first sight. But the demo
effect is in having more then one instance of the application running
at the same time, so launch the application again.
Drag the two windows away from each other, so that the windows
borders don't touch each other. Now notice that a gap opens up in
both windows' borders. The ball is now bouncing through the gap
in one of the windows, in to the open space, and then enters the
second window. As it finds the gap again in the second window, it
will bounce back to the first.
What is impressive, is that you have open two instances of the
application, not two windows within one application. The demo shows
how two applications are capable of communicating with each other,
through an application messaging protocol called BMessages.
|