Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » JavaFX deployment with Eclipse(CSS won't work after deploying a JavaFX app.)
JavaFX deployment with Eclipse [message #1691999] Sat, 11 April 2015 14:33 Go to next message
Eclipse UserFriend
Hello,

If I create a JavaFX app and I deploy it from Eclipse, the CSS won't be working for some reason. The app works inside Eclipse fine...

This is how I use the CSS:

anchorPane.getStylesheets().add(Main.class.getResource("style.css").toExternalForm());

The deployment I have done with the build.fxbuild.
I have just filled out the obligatory fields, and I signed the app, that's all. I haven't set any other settings. I didn't convert the .css into .bss for example.

Do you now why is it not working properly? Many Thanks!
Re: JavaFX deployment with Eclipse [message #1692122 is a reply to message #1691999] Mon, 13 April 2015 12:15 Go to previous message
Eclipse UserFriend
Hi,

Generally JavaFX support is provided through the eclipse.efxclipse
newsgroup!

Is the css file part of the jar?

Did you check the upper/lowercase? - As long as you run from eclipse you
use the OS-Filesystem which e.g. on win32 is case-insensitive but at the
moment you run from a jar this FS is casesensitive!

Tom

On 13.04.15 14:48, Za Abb wrote:
> Hello,
>
> If I create a JavaFX app and I deploy it from Eclipse, the CSS won't be
> working for some reason. The app works inside Eclipse fine...
>
> This is how I use the CSS:
>
> anchorPane.getStylesheets().add(Main.class.getResource("style.css").toExternalForm());
>
>
> The deployment I have done with the build.fxbuild. I have just filled
> out the obligatory fields, and I signed the app, that's all. I haven't
> set any other settings. I didn't convert the .css into .bss for example.
>
> Do you now why is it not working properly? Many Thanks!
Previous Topic:Unable to ANT ATL transformation chain
Next Topic:Upgrade Plugin Project from Kepler to Mars
Goto Forum:
  


Current Time: Sun May 18 07:42:15 EDT 2025

Powered by FUDForum. Page generated in 0.03651 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top