Hi I shouldnt be asking this question here but since its also got to do Swing, I am posting it here too. I have developed a JavaMail Client program. On retrieving new mail the GUI interface freezes. Is there a way to prevent this? If the possible solution is using Threads, then please guide me.
russ wicks
Greenhorn
Joined: Sep 07, 2001
Posts: 3
posted
0
Originally posted by rohan baweja: Hi I shouldnt be asking this question here but since its also got to do Swing, I am posting it here too. I have developed a JavaMail Client program. On retrieving new mail the GUI interface freezes. Is there a way to prevent this? If the possible solution is using Threads, then please guide me.
The answer is threads. Just make sure that the receive method of your program is executed on a seperate thread. I had a similar problem but threading sorted it out.