Don't have Telegram yet? Try it now!
https://kodejava.org/how-do-i-handle-mouse-event-in-swing/
How do I handle mouse event in swing?