Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom "Stage Close" behavior #18

Open
clisztian opened this issue Sep 17, 2022 · 1 comment
Open

Custom "Stage Close" behavior #18

clisztian opened this issue Sep 17, 2022 · 1 comment

Comments

@clisztian
Copy link

Greetings,
Fantastic job on the customStage project. Was definitely needed in the javaFX world.

One thing you might want to implement is to allow the user to set a custom behavior when closing the Stage. If I have multiple windows, and I just want to close one, there is no access to define this behavior, as you simply use the Stage System.exit(0), and thus closes the entire application down. Perhaps having an option close/hide might be better for some cases.

Unless I'm missing something...
Thanks and cheers

@Godwarrior431
Copy link

Hello, could you find a solution so that when closing the Stage it has a personalized behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants