Using image resources in a folder or another project's root
936119May 11 2012 — edited May 13 2012Hello,
I must confess that I find it annoying to place my pictures and icon resources in the same package to access them in the JavaFX application. I think this enforcement by JavaFX is an unreasonable one.
Consider that I use the same icon in several places in my application. It is the same resource that I have to put in several different places. Imaging the problems when trying to refactor or upgrading the application.
Is there a mechanism to access icons/picture resources in a folder at the root of the project or access these resources in a separate project. I would prefer the latter because in this way, I create a single project with all these resources and all other projects would access them from this project. I think this would allow updates, refactoring to be done much more easily.
If such a mechanism exists, please point me to it.
Than ks