powered by Jive Software

How to close spark instead of minimize?

Hello,

I’m deploying Spark client on Citrix XenApp servers.

Is it possible to close the client instead of minimize it when we clic on the cross?

Thanks a lot

you would need to change the buttons action in code. My guess is there is a window listener attached to the JFrame somewhere that has it minimize instead of terminate the program. so you could change it to a graceful logout/shutdown of Spark if you wanted. Spark already has all the plumbing to gracefully shutdown, so you could use that.

why would you want to have the program close when you click the X? you can click Spark --> Exit and it will close… also, a chat program must run to receive messages of course, so terminating the application may not be desired this way. I dont know of any chat programs that, by default, do terminate with a click of the X, since it would be way to easy for a user to accidentally terminate their program without realizing it.

Jason wrote:

you can click Spark --> Exit and it will close…

Another option without bringing up the main window is to right click the system tray icon and choose Exit.

Jason a écrit:

you would need to change the buttons action in code.

Yes it’s what i’m looking for