i am using swt with java and am having a problem with a message box. when i run my program a login shell appears. when a user clicks the close button (X) in top right hand corner of the login shell they are asked if they really want to exit. when they click yes the application exits which is what i want to happen, but when they click no i just want the login shell to remain, however it keeps closing and open the shell that should open upon successful login.
can anyone please help me.
thanks in advanced,