i was wondering if someone can help me. i'm new to swt, and i am trying to work with two listeners. I have a login screen that a user enters their username and password and then clicks login button. when they click login their is a SelectionListener that will envoke a login method. i also have a listener on the shell that if the user clicks the close (X) button then the entire application just exits. the problem i'm having is that when the user clicks login it is actually exiting the application when it shouldn't. i have added some code at the end. Any help would be greatly appreciated.
Thanks in advanced