public static URL getResource ( String name ) { if ( false ) return unchecked ( ( ) -> new URL ( "file:///your/path/here/src/main/wallettemplate/" + name ) ) ; else return MainController . class . getResource ( name ) ; }
A useful helper for development purposes . Used as a switch for loading files from local disk allowing live editing whilst the app runs without rebuilds .