Eclipse/Java9: how to access internal javafx packages?
My context:
- Eclipse IDE for Java Developers, Version: Oxygen.1a Release (4.7.1a), Build id: 20171005-1200oxygen
- jdk9.0.1
- win10
<
-
2020-12-18 09:34
- In Project > Properties: Java Build Path, Libraries tab, select the node Modulepath/JRE System Library[JavaSE-9]/Is modular and click Edit...
- In the Module Properties dialog, in the Details tab, in the Added exports section click Add... and enter the following:
- Source module:
javafx.controls
- Package:
com.sun.javafx.scene.control
- Click OK twice to close the Add-exports configuration and the Module Properties dialogs and Apply and Close to close the Properties dialog