CS476/576

Assignment #4

Due Midnight, Monday Dec. 6, 2010


Write a Java program with the following descriptions:

NAME

jrg-  creates a graph of  randomly tcp-socket-connected processes.

 

 

SYNOPSIS

 

       jrg  [n]

 

 

DESCRIPTION

 

The program behaves exactly like Assignment #3 but instead of using xterms  it creates Swing interface for each node.

The Swing interface for each node should allow the user to:

·       Input the messages to send to peer nodes.

·       Display the current peer nodes.

·       Display the messages received from peer nodes.

·       End the  process and all directly connected peers.


 My implementation is under:

/home/cs476/public_html/fall10/assignments/a4/wahab