Conventions for multi platform code and resources
steve at winnall.ch
Fri Feb 24 09:19:54 PST 2012
What conventions exist in JavaFX for naming and retrieving multi-platform code and resources? The obvious example to me would be CSS files: an application might be identical - in the ideal case - on all platforms, but have different CSS files for each platform to handle details for those platforms. What conventions are in place for naming and distinguishing those CSS files?
For I18N we have ResourceBundles: is there anything similar for JavaFX resources? Taking the analogy further, besides resources like CSS files, there may be also Java classes which are platform-specific, as in I18N. There may be other resources too, like FXML files which are platform-specific.
More information about the openjfx-dev