Don't have Telegram yet? Try it now!
https://pupeno.com/2017/12/20/restoring-window-sizes-in-javafx/
Restoring window sizes in JavaFX