A lot WARING with CSS

Yennick Trevels yennick.trevels at gmail.com
Sun Dec 15 02:14:36 PST 2013


I encountered the same issue when trying to run my demo application on Android with the JavaFx Android port.
All my background and border styles wouldn't show up when I had any *-radius styles defined, once I removed those it was working fine. Back then I thought this was only an issue on Android, because when I ran my app on the desktop it was working fine.

Regards,
Yennick
On 14/12/2013 21:27:28, Francisco Javier Godino <jgodino at yahoo.com> wrote:
I have an application running perfectly with JAVAFX 2.

I trying to migrate this application to OpenJFX 8.

When I run the program, there is a lot of warning like:

Executing C:\Desarrollos\NovoviaSistema8\dist\run1862230921\NovoviaSistema8.jar using platform C:\Program Files\Java\jdk1.8.0/bin/java
dic 14, 2013 5:11:24 PM javafx.scene.CssStyleHelper lookup
WARNING: caught: 
java.lang.ClassCastException: [Ljavafx.geometry.Insets; cannot be cast to [Ljavafx.scene.layout.CornerRadii;

and the screen look is different. It's not considering my CSS as JAVAFX 2.

Do I need to change somethings?

Thanks


More information about the openjfx-dev mailing list