This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 8.0.2 (Build 201411181905) Operating System = Mac OS X version 10.10.3 running on x86_64 Java; VM; Vendor = 1.8.0_40 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.40-b25 Go to Tools->Java Platforms Pick a Java 8 JDK, click on the Sources tab. Only the main sources zip is pre-populated. The javafx sources zip should also be there.
Works for me, see the attached picture. The only problem is that the JavaFX modules has to be already enabled in time the Java Platform is Added.
Created attachment 155201 [details] Screenshot
"The only problem is that the JavaFX modules has to be already enabled in time the Java Platform is Added." Then one could argue that this is still a problem. The JavaFX classes are on the bootclasspath from Java 8 onward. Since the classes are available without manually activating JavaFX, the source files should be available as well. It's just part of the JDK now.
The javafx sources in the IDE are provided by the JavaFX support. In the IDE it's not a part of J2SE but it's a separate module cluster due to lower usage of JFX. I will try if it's possible to add the javafx sources into existing java platform when the javafx modules are activated.
That sounds like a good solution!
Fixed jet-main 23f08f8738b4 The same problem is for javadoc, I will add a new issue for it.
The javadoc issue https://netbeans.org/bugzilla/show_bug.cgi?id=254203
Integrated into 'main-silver', will be available in build *201508080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/23f08f8738b4 User: Tomas Zezula <tzezula@netbeans.org> Log: #251138:JavaFX source zip is not automatically added to Java Platform sources