How can I disable "Unknown property: error in eclipse when writing JavaFx css

How to disable Unknown property:error in eclipse when writing JavaFx css properties on Eclipse Mars?

For example: Unknown property: "-fx-background-color"in-fx-background-color: #CCFF99;

+4
source share
2 answers

Right click on your project and go to build path> Configure build path. In the "Libraries" section, click "Add Library ...". Add the JavaFX SDK to your project. This will solve your problem.

Add library

+10
source

, , e (fx) clipse? , - , Eclipse javaFX.

, , .

0

All Articles