org.jgroups.demos
Class Draw
- ActionListener, ChannelListener
public class Draw
extends java.lang.Object
Shared whiteboard, each new instance joins the same group. Each instance chooses a random color,
mouse moves are broadcast to all group members, which then apply them to their canvas
Draw(String props, boolean debug, boolean cummulative, boolean no_channel)
|
Draw
public Draw(String props,
boolean debug,
boolean cummulative,
boolean no_channel)
throws Exception
actionPerformed
public void actionPerformed(ActionEvent e)
clearPanel
public void clearPanel()
go
public void go()
throws Exception
main
public static void main(String[] args)
mainLoop
public void mainLoop()
sendClearPanelMsg
public void sendClearPanelMsg()
Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.