Top.Mail.Ru
August 12th, 2007 - Java developers — LiveJournal
? ?

Java developers

August 12th, 2007

04:04 pm - aa_chan - [Networking] Client Server Stall

I'm working with a basic client and server which sends information from some text fields and a radio button group to the server. I want to make this server multithreaded and also write the data to a text file, but for the moment I'm having trouble with the client stalling.

When I run the server and client everything is fine, but when I click the 'Submit' JButton to send the data to the server, the client stalls and I can't close it until I close NetBeans IDE 5.0. I wasn't sure what it was at first but I notice that it seems to stop after sending the last piece of data to the server. As if it's waiting for something almost.

Code under hereCollapse )
Powered by LiveJournal.com