I want to use natif splash screen API from Java. W...
# compose-desktop
a
I want to use natif splash screen API from Java. When I add vm option: -splash:\path-to-image\icon.png The splash screen doesn't work!! In kotlin: val splash = SplashScreen.getScreen() The splash variable is always null !!! How to fix it ?!
👀 1
c
z
i have tried all possible combinations in the github issue. none work
@Zoff I have added a comment with a solution. What I found is that using the native splash screen is JVM dependent. Not sure it can be made to work with the launcher. Also doesn't work with the conveyor packaging tool. What does work: plain Java AWT frame. It displays in less than a second even on my (awful) windows 10 virtual machine that takes 2 seconds or so to load the calculator app.