groovyfx-project/groovyfx — pull request #9 by timyates (2013-01-07 16:04:02+00:00)
Title: WebEngine is not supported by the ARM preview of Java 8

Ithis patch just checks to see if you have defined `javafx.platform=eglfb` (for running on the raspberry pi for example)

If it is defined, then WebEngine is not enhanced. Without this, you get:

```
Caught: java.lang.RuntimeException: Exception in Application start method
java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:376)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:47)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:115)
Caused by: java.lang.ExceptionInInitializerError
at com.sun.javafx.tk.quantum.QuantumToolkit$WebViewFactory.(QuantumToolkit.java:1607)
at com.sun.javafx.tk.quantum.QuantumToolkit.createPGWebView(QuantumToolkit.java:1096)
at javafx.scene.web.WebEngine.(WebEngine.java:266)
at groovyx.javafx.GroovyFXEnhancer.class$(GroovyFXEnhancer.groovy)
at groovyx.javafx.GroovyFXEnhancer.$get$$class$javafx$scene$web$WebEngine(GroovyFXEnhancer.groovy)
at groovyx.javafx.GroovyFXEnhancer.enhanceClasses(GroovyFXEnhancer.groovy:545)
at groovyx.javafx.GroovyFXEnhancer$enhanceClasses.call(Unknown Source)
at groovyx.javafx.SceneGraphBuilder.(SceneGraphBuilder.groovy:82)
at groovyx.javafx.GroovyFX.start(GroovyFX.java:34)
at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319)
at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:207)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
at com.sun.glass.ui.lens.LensApplication$RunnableEvent.dispatch(Unknown Source)
at com.sun.glass.ui.lens.LensApplication._runLoop(Unknown Source)
at com.sun.glass.ui.lens.LensApplication.access$400(Unknown Source)
at com.sun.glass.ui.lens.LensApplication$4.run(Unknown Source)
Caused by: java.util.MissingResourceException: Can't find bundle for base name com.sun.webkit.build, locale en_US
at com.sun.webkit.Utilities.(Utilities.java:29)
... 16 more
```