I do not understand how to add more than two css-parameters to the component.
I do this:
this.setStyle( "-fx-background-color: silver; " + "-fx-font-size: 14px; " ); The fact is that when you try to add a third one, a parser error occurs with the message that the allowed size is exceeded.
The project is here .