CVS update: JGroups/src/org/jgroups/demos StompDraw.java
"Bela Ban" <[email protected]> Wed, 27 Oct 2010 10:52:05 +0000
| Newsgroups | gmane.comp.java.javagroups.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: belaban
Date: 10/10/27 10:52:05
Modified: src/org/jgroups/demos StompDraw.java
Log:
added bind_addr
Revision Changes Path
1.5 +3 -3 JGroups/src/org/jgroups/demos/StompDraw.java
Index: StompDraw.java
===================================================================
RCS file: /cvsroot/javagroups/JGroups/src/org/jgroups/demos/StompDraw.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- StompDraw.java 27 Oct 2010 09:24:59 -0000 1.4
+++ StompDraw.java 27 Oct 2010 10:52:04 -0000 1.5
@@ -1,4 +1,4 @@
-// $Id: StompDraw.java,v 1.4 2010/10/27 09:24:59 belaban Exp $
+// $Id: StompDraw.java,v 1.5 2010/10/27 10:52:04 belaban Exp $
package org.jgroups.demos;
@@ -289,6 +289,8 @@
}
else if("Leave".equals(command)) {
stop();
+ mainFrame.setVisible(false);
+ mainFrame.dispose();
}
else
System.out.println("Unknown action");
@@ -303,8 +305,6 @@
stomp_client.send(clients_dest, null, 0, 0, "client-left", session_id);
}
stomp_client.disconnect();
- mainFrame.setVisible(false);
- mainFrame.dispose();
}
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev