@Override
        public void clientDisconnected(Client c, DisconnectInfo info) {
            System.out.println("clientDisconnected(" + c + "):" + info);
            if( info != null ) {
                // The connection was closed by the server
                JOptionPane.showMessageDialog(rootPane, 
                                          info.reason, 
                                          "Connection Closed", 
                                          JOptionPane.INFORMATION_MESSAGE);
                dispose();
            }
        }
A simple test chat server.  When SM implements a set
 of standard chat classes this can become a lot simpler.

 @version   $Revision$
 @author    Paul Speed
jme3-examples/src/main/java/jme3test/network/TestChatClient.java