@Override
    public void dispose() {
        System.out.println("Chat window closing.");
        super.dispose();
        if( client.isConnected() ) {
            client.close();
        }
    }
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