Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #575

client server application

From "mehall126" <mehall126@THRWHITE.remove-dii-this>
Subject client server application
Message-ID <1168121268.789918.188840@v33g2000cwv.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:28 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
I have created a Java client server application using a socket
connection with buffered reader and print writer objects to receive and
send the data on the client and the server. The data goes to the server
and is processed but the returned string, each line of which is
tokenized on the client, should add elements to a JList.  The logic of
the code loops is working OK, as the output to the screen shows the
correct elements when the event button on the client is clicked.
However, the client window freezes and there is no display of the data
in the JList on the client. When I close the server GUI, the correct
information is then displayed. I am running the application on the one
machine using local host.  Any suggestions as to the potential problem
would be appreciated. I must stress that I am not an experienced java
programmer.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar


Thread

client server application "mehall126" <mehall126@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
  Re: client server applica "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
    Re: client server applica "mehall126" <mehall126@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
  Re: client server applica "Nigel Wade" <nigel.wade@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000

csiph-web