aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Client/Server GUI hanging up - Brocard's Problem - Running multiple client threads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Client/Server GUI hanging up - Brocard Watch "Client/Server GUI hanging up - Brocard New topic
Author

Client/Server GUI hanging up - Brocard's Problem - Running multiple client threads

Rick Wallace
Greenhorn

Joined: Nov 18, 2006
Posts: 6
I've created a server and client class along with a GUI which tests out Brown numbers (solutions to Brocard's problem, n! + 1 = m^2). I am testing every value of n starting at 1 up to and beyond 10^9. I connect to the server but when I press the client thread 'Start Client" button the program begins the computations but the GUI hangs up and the button stays depressed. My goal is to have the output from the computations displayed in a TextField and also be able to start up more than 1 client thread and have each running it's own computations and displaying the results on separate windows. The code below does not include the code for the computations but just echos back "Welcome to Java based Server". But if I can get this to be displayed without the GUI hanging up that'd be great.

Any suggestions?



Thank you
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19761
    
  20

Check out this page.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Rick Wallace
Greenhorn

Joined: Nov 18, 2006
Posts: 6
Perfect. Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client/Server GUI hanging up - Brocard's Problem - Running multiple client threads