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