The question is pretty simple, but I haven't found any examples relating to this. I want to obtain the containing Stage of a UI Control in JavaFX. Is there a way to do this?
((Stage) Control.getScene().getWindow())
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With