FileDocCategorySizeDatePackage
ThreadWhiteboardTest.javaAPI DocExample630Thu Apr 10 22:14:20 BST 1997dcj.examples.Collaborative

ThreadWhiteboardTest

public class ThreadWhiteboardTest extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

    String name = argv[0];
    String host = argv[1];
    String mname = argv[2];
    int r = Integer.parseInt(argv[3]);
    int g = Integer.parseInt(argv[4]);
    int b = Integer.parseInt(argv[5]);
    Color color = new Color(r, g, b);
    try {
      ThreadWhiteboardUser wu = new ThreadWhiteboardUser(name, color,
                                             host, mname);
      while (true) {}
    }
    catch (Exception e) {}