Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Freezing when button is clicked

843805Mar 7 2007 — edited Mar 8 2007
I understand why the program freezes when I click on one of my buttons, but fixing has gotten me stumped. In my program you will click on a button, it goes to the action listener, and sends information to a different program through a server, and then it calls a method to wait for the person using the other program to reply. However, since the action listener didnt finish and the other method is pausing the running of the program stops until the reply, basically freezing until a reply. I need to know how i can make the action listener finish, and still somehow call the method and not freeze, im totally stumped.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 5 2007
Added on Mar 7 2007
2 comments
244 views