Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

How to set title/owner in confirm() / alert()? #522

Closed
jschneider opened this issue Nov 4, 2017 · 1 comment
Closed

How to set title/owner in confirm() / alert()? #522

jschneider opened this issue Nov 4, 2017 · 1 comment

Comments

@jschneider
Copy link

Hi guys,

I would like to set the title (javafx.scene.control.Dialog#titleProperty) of a confirmation dialog (that one in the decoration window).
I couldn't find a way at the moment.
Is this possible?

Also I couldn't find a way to set the owner in the confirm() method. But it is possible with alert.

@edvin
Copy link
Owner

edvin commented Nov 6, 2017

Thanks for reporting! I've added title and owner parameters to all dialog builders :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants