groovyfx-project / groovyfx

A library for writing JavaFX 8 applications in the Groovy language.
http://groovyfx.org
Apache License 2.0
199 stars 50 forks source link

Classes removed in JDK9 GroovyFX #35

Open russel opened 8 years ago

russel commented 8 years ago

The following classes are in GroovyFX 8 but not in GroovyFX 9:

javafx.scene.NodeBuilder com.sun.javafx.css.parser.CSSParser com.sun.javafx.css.Stylesheet javafx.scene.paint.RadialGradientBuilder javafx.scene.paint.RadialGradientBuilder com.sun.javafx.css.parser.CSSParser javafx.scene.paint.LinearGradientBuilder com.sun.javafx.css.Stylesheet javafx.scene.paint.LinearGradientBuilder javafx.scene.chart.XYChartBuilder javafx.scene.media.MediaPlayerBuilder javafx.scene.NodeBuilder javafx.scene.media.MediaPlayerBuilder javafx.scene.SceneBuilder MediaPlayerBuilder SceneBuilder

chriswhocodes commented 8 years ago

Hi Russell,

Did some investigation into this at the AdoptOpenJDK hackday.

My best read on this is that GroovyFX / JDK9 issues are due to Oracle dropping support for the JavaFX SceneBuilder.

SceneBuilder has been picked up by Gluon: http://gluonhq.com/gluon-supports-scene-builder/ and http://gluonhq.com/open-source/scene-builder/

Unfortunately it's not a drop-in library replacement and the old SceneBuilder API no longer exists (Gluon do provide a SceneBuilder "Kit" download for API access) so I think there's some refactoring needed for GroovyFX to work in a post JDK9 world.

Source code for the Gluon SceneBuilder work is https://bitbucket.org/gluon-oss/scenebuilder

I think https://twitter.com/johanvos is the guy to speak to about this.