This URL resolves to "https://controlsfx.bitbucket.io/" and allows access to the Javadoc files but the subdirectory for the source code files ("samples-src/" as defined in ControlsFXSample.java) does not appear to exist. I suspect something similar for the CSS tabs.
That should do it. The ControlsFX team should make this change in their build process to do this when they release the next update to ControlsFX.
Personally I would like to thanks them for providing this awesome library free of charge and for all the work they do to keep us JavaFX programmers informed of what's going on in this area. Thanks you!
The other thing the ControlsFX team should do to the sample demo application is to modify the JavaDoc tab to load the JavaDoc from the local controlsfx-samples-8.40.14-javadoc.jar file vs. going to the web for it. Basically the sample demo application should work without an internet connection.
To implement this functionality you would need to remove the getJavaDocURL() from each Hello sample application (there are many) and add the getJavaDocURL() method to the ControlsFXSamples class. The getJavaDocURL() method would resemble getSampleSourceURL() but return the reference to the local JavaDoc html file. You would need to make a similar modification to the manifest file (MANIFEST.MF) and add controlsfx-samples-8.40.14-javadoc.jar to the class path too.
In my opinion making these changes would make the demo application easier to use.
@John Schladenhauffen Your ideas are good and we need to find a way to achieve them in our build tool. There are potential problems that we need to overcome.
Samples: We need to find a way to include controlsfx-sample-sources as a compile time dependency to the project. As far as I can tell, there is not straight forward way to do this since we are compiling the exact same project whose sources are required as dependency.
A quick hack to copy all the java files from src/main/java into build resources directory. I did it in the processResources task and it seems to work.
Although, it has a side-effect - All java files will be added to the controlsfx-samples jar as well. I think we should be able to live with it if we copy all java files to an internal dedicated directory :)
Javadoc: To achieve this requirement, we need to add controlsfx-javadoc as a compile time dependency and there seems to be no direct way (that I am aware of) to add a dependency to the "javadoc" jar.
I am no expert at Gradle, but I see these as the potential hurdles to solving this issue.