In my onCloseSolution method I have a dialog that asks if the user is sure that he wants to quit the program.
That works like expected.
But when killing a client using adminpages, then I get the following error:
Can’t use the dialog plugin in a none Swing thread/environment
Logic, because I killed the client from adminpages.
Is there a way that I can check if close solution is done manually by the user or a kill by adminpage or kill by a plugin (I know there are plugins that can kill clients also).
[quote=“martinh”
But when killing a client using adminpages, then I get the following error:
Can’t use the dialog plugin in a none Swing thread/environment
Logic, because I killed the client from adminpages.
[/quote]
That error should not be generated for smart clients.
Where do you get that error?
Do you really et that error in the Smart clients log on the client? Or on the servers log?
Because you cant show a dialog in the webclient.