B4J Question Taskbar Icon & B4J packager


Licensed User
Longtime User
I have built an app which uses the task bar Icon to show the current state of the system while the app is minimised.
I use a call as below replacing X with the state Icon I want to use.
MainForm.Icon = fx.LoadImage(File.DirAssets, "state_x.png")
This works well in the debugger and well when I build and run an executable locally.

Then I used the packager to build the app so i can distribute it.
The app still works correctly but the Icon in the TASKBAR is always that set in the Icon input box on the packager or the default Java icon if you leave it blank.

Is there a way to get around this? have I missed something in the setup of packager?

[NB using the OLD b4jpackager not Java 11]
Last edited: