(here it is nearly a different question... I don't know if I should open a new thread).
I tried directly:
MainForm.BackColor = fx.Colors.From32Bit(xui.Color_Blue)
but this has no effects.
Strangely, BackColor requires a Paint object and From32Bit returns a javafx.scene.paint.Color, which is accepted but, as I said, the MainForm back color does not change.