Don't have Telegram yet? Try it now!
https://kodejava.org/how-do-i-close-a-jframe-application/
How do I close a JFrame application?