Skip to content

awt support #21

@nickolaymudry

Description

@nickolaymudry

To display some undecorated and utility windows we need to use AWT. (FX dont provide this) Also we need to have tray icon. (FX dont support it too) The best way for this is usage of AWT. But unfortunately we cant use awt by this way:
final ConfigurableApplicationContext ctx = SpringApplication.run(this.getClass(), savedArgs);
But if we replace it with:
final ConfigurableApplicationContext ctx = new SpringApplicationBuilder(this.getClass()) .headless(false).run(savedArgs);
it should work.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions