/** Closes down the client, freeing resources */ public void closeDown() { try { jcf.setVisible(false); jcf.closeDown(); jcf.dispose(); this.jcf = null; cts = null; System.err.println("ClientEventHandler closing down"); } catch (Exception e) { } System.exit(-111222); System.err.println("CLOSING DOWN THE CLIENT"); }