Sign out in client

Hi All,

I am build a IM client using Smack and Eclipse.

I want to implememt Sign out in the client. Action should be the user is logged out and then back to the login screen.

I am able to logout the user. This closes the window which list all the users. I am not able to get to the login screen back. How do I call Application class which implement the IPlatformRunnable interface and has the run() method?

Thanks

Mahaveer

This would be a java question rather than a smack question.

Best bet would be to ask over at the Sun forums