1. Does this piece of code hang for you all also ? coderanch.comJRoch- I'd be interested in hearing which examples you had problems with. I just tried the first one I found in chapter 14 under "Threading for a responsive Interface" - c14:Counter2.java - and it worked fine for me - but I see there are many more. Which one did you see problems with? I'm running jdk 1.2.2 and 1.3 beta under ... |
2. System hangs on running Java Client coderanch.com |
3. GUI botton hang when connect to ServerSocket !!!!!!!!!!!!!!!!!!!!! forums.oracle.comfor every connection The client thread is a single thread that is dispatched for the welfare of the GUI thread. You should disable the CONNECT button while conversation with the server is running. The thread that is used by the server for handling accepted client can be multiple threads because multiple clients would access at the same time. Your phrase 'for ... |