Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I disable `Unknown property: ` error in eclipse while writing JavaFx css

How can I disable Unknown property: error in eclipse while writing JavaFx css properties on Eclipse Mars?

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

like image 996
Program-Me-Rev Avatar asked Mar 28 '16 20:03

Program-Me-Rev


1 Answers

Right click on your project and go to build path > Configure build path. Under libraries, click on "Add library..." button. Add JavaFX SDK to your project. This will resolve your issue.

Add Library

like image 192
spdl83 Avatar answered Sep 29 '22 20:09

spdl83