org.jgroups.demos

Class Draw2Channels

public class Draw2Channels extends Object implements ActionListener

Same as Draw but using 2 channels: one for view changes (control channel) and the other one for drawing (data channel). Ported to use Swing Nov 1 2001, not tested.

Author: Bela Ban, Nov 1 2001

Constructor Summary
Draw2Channels(String control_props, String data_props, boolean no_channel)
Method Summary
voidactionPerformed(ActionEvent e)
voidclearPanel()
voidgo()
static voidmain(String[] args)
voidsendClearPanelMsg()

Constructor Detail

Draw2Channels

public Draw2Channels(String control_props, String data_props, boolean no_channel)

Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

clearPanel

public void clearPanel()

go

public void go()

main

public static void main(String[] args)

sendClearPanelMsg

public void sendClearPanelMsg()
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.