org.jgroups.demos

Class Draw2Channels

Implemented Interfaces:
ActionListener

public class Draw2Channels
extends java.lang.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

void
actionPerformed(ActionEvent e)
void
clearPanel()
void
go()
static void
main(String[] args)
void
sendClearPanelMsg()

Constructor Details

Draw2Channels

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

Method Details

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 B) 2001,2002 www.jgroups.com . All Rights Reserved.