org.jgroups.demos
Class DrawRepl
java.lang.Object
org.jgroups.demos.DrawRepl
- ActionListener, MouseMotionListener, Runnable, WindowListener
public class DrawRepl
extends java.lang.Object
implements MouseMotionListener, WindowListener, ActionListener, Runnable
Replicates the whiteboard demo by intercepting central AWT event queue and mcasting events to
all members. Not very useful in all cases, e.g. when the "Leave" button is pressed, and this event
is broadcast to all members, all members will leave ! This demo would clearly benefit from more work !
NOT SUPPORTED !
DrawRepl
public DrawRepl()
actionPerformed
public void actionPerformed(ActionEvent e)
clearPanel
public void clearPanel()
findComponent
public Component findComponent(Container parent,
String comp_name)
main
public static void main(String[] args)
mouseDragged
public void mouseDragged(MouseEvent e)
mouseMoved
public void mouseMoved(MouseEvent e)
processEvent
public void processEvent(String comp_name,
AWTEvent evt)
windowActivated
public void windowActivated(WindowEvent e)
windowClosed
public void windowClosed(WindowEvent e)
windowClosing
public void windowClosing(WindowEvent e)
windowDeactivated
public void windowDeactivated(WindowEvent e)
windowDeiconified
public void windowDeiconified(WindowEvent e)
windowIconified
public void windowIconified(WindowEvent e)
windowOpened
public void windowOpened(WindowEvent e)
Copyright B) 1998-2005 Bela Ban. All Rights Reserved.