• Post Reply Bookmark Topic Watch Topic
  • New Topic

Issue with Login Popup - SWT

 
Jack clouseau
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

Am trying to add a log-in dialog to my application. I have added this code in the

start method of the IApplication java file:

below is the code:



Now, the issue is: when the application starts the splash screen shows up first ( i have configured the splash screen in the productconfiguration file of the application). Then the login dialog appears.

Before entering the credentials in the login dialog, if the user closes the application by selecting the "close window" conext-menu from the windows task bar, the application closes (spash screen), but the login dialog doesn't close.

The login dialog is created as below in the IApplication.java



On debugging i noticed that, if the user closes the application before entering the credentials in the login dialog, the control doesn't come to the IApplicatio.java file itself. If this is the case, how can i close my Login dialog in this scenarion

Please let me know suggestion to resolve this issue
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!