How to see source code of JavaFX SDK in eclipse kepler?


Question

I decided to learn JavaFX. I need to browse source code of classes like javafx.scene.layout.StackPane . So I pressed F3 to go to source code. There is no source code and no button that allows to attach source code. I looked in the Internet and din't find anything helpful. I use eclipse kepler and java7. I have jfxrt.jar in my classpath.

1
5
7/27/2015 4:50:20 PM

For Java SE 8, the JavaFX source code is distributed with the JDK. If Eclipse does not pick it up automatically, you need to select the zip file using the standard "Attach Source" approach. The file is called javafx-src.zip and is located alongside src.zip in the root of the unpacked Oracle JDK (on Windows).

8
9/22/2014 1:39:33 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon