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

Get icon for application #70

Open
tballison opened this issue Nov 18, 2022 · 1 comment
Open

Get icon for application #70

tballison opened this issue Nov 18, 2022 · 1 comment
Milestone

Comments

@tballison
Copy link
Owner

Find something suitable with favorable license.

@tballison tballison added this to the v1.2.0 milestone Nov 18, 2022
@tballison
Copy link
Owner Author

I looked into this. The following doesn't work on Ubuntu (known problem):

    stage.getIcons().add(new Image("icon.png"));
    stage.setScene(scene);

It does work on Mac, but then the application icon in the System tray on a mac still shows the folder icon.

I did find some work arounds for creating a system tray with swing components, but why spend time on this until it is fully supported by JavaFX.

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

No branches or pull requests

1 participant