problem in using swing application
hi friends, iam developed a swing gui in that iam going to give server port number and number of clients handled by the server.Then i press submit button.The action am writed for the submit button is my server program reads the configuration details from the file and then server socket establishes and waits in the accept socket.At this stage,my swing gui gets freezed.... but i dont need that.... coz in that iam using the other button which is used to stop the server program.... can anyone tell me whats the problem and whats the solution?

