Package org.jgroups.demos
Class Draw2Channels
- java.lang.Object
-
- org.jgroups.demos.Draw2Channels
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.util.EventListener
public class Draw2Channels extends java.lang.Object implements java.awt.event.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
Constructors Constructor Description Draw2Channels(java.lang.String control_props, java.lang.String data_props, boolean no_channel)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
void
clearPanel()
void
go()
static void
main(java.lang.String[] args)
void
sendClearPanelMsg()
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
go
public void go()
-
clearPanel
public void clearPanel()
-
sendClearPanelMsg
public void sendClearPanelMsg()
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
-