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

Handling Startup Stage Smartly #44

Open
hantsy opened this issue Apr 6, 2024 · 2 comments
Open

Handling Startup Stage Smartly #44

hantsy opened this issue Apr 6, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@hantsy
Copy link

hantsy commented Apr 6, 2024

Create a @PrimaryStage for marking the default stage to launch, no need to handle FxStartUpEvent and assemble the first stage manually.

@PrimaryStage
@FxView
@Dependent
class MainViewController{}

Allow developers to customize the root scene properties via application.properties file.

@CodeSimcoe CodeSimcoe added the enhancement New feature or request label Apr 6, 2024
@CodeSimcoe
Copy link
Contributor

Why not have a default Stage initialization.
Though, I see no interest in customizing scene / stage in application.properties rather than plain java code.

@hantsy
Copy link
Author

hantsy commented Apr 7, 2024

Why not have a default Stage initialization.
I means make it optional.

Though, I see no interest in customizing scene / stage in application.properties rather than plain java code.

Create a default scene with default properties, optionally allow developers to customize the properties in application.properties, such as title, change font style/font color, bg color, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants