How to create a css file in eclipse with e(fx)clipse plug in

Jeremy picture Jeremy · May 21, 2016 · Viewed 10.1k times · Source

I have been developing a JavaFX application and when going to skin and style my application I can find how to create a css file. I have e(fx)clipse downloaded and eclipse and e(fx)clipse are both the newest versions. I have searched google and cant find anything. To create a JavaFX project file you simply go to File > New > other > and navigate to JavaFX Project. With this project it creates a css file in the package it creates. But there is no option to create a stand alone css file. Does anyone know what I'm doing wrong?

Answer

GOXR3PLUS picture GOXR3PLUS · May 22, 2016

Basically the css you will use in javaFX in an ordinary .css file so:

1)Right click on src folder

2)New->File->(Give it a name).css->Finish

But: That is the way to create a css file in Eclipse.For some reason eclipse shows some warnings into css even if e(fx)clipse is installed.