I had in my clipboard....but surely it is wrong.Where did you see this CSS declaration?
Private shadow as JavaObject
shadow.InitializeStatic("javafx.scene.effect.DropShadow")
shadow.RunMethod("setRadius", Array As Object("5"))
shadow.RunMethod("setOffsetX", Array As Object("3"))
shadow.RunMethod("setOffsetY", Array As Object("3"))
shadow.RunMethod("setColor", Array As Object("0, 0, 0"))
........
Ther's an article on oracle doc:DropShadow will not add the shadow to the text. It will add it to the whole field.
https://docs.oracle.com/javafx/2/text/jfxpub-text.htm
Ok, now where i wrong?You are correct. It will show the text shadow for a Label
shadow.InitializeStatic("javafx.scene.effect.DropShadow")
Dim offsetX = 3, offsetY = 3, radius = 5 As Double
shadow.RunMethod("setRadius", Array(radius))
shadow.RunMethod("setOffsetX", Array As Object(offsetX))
shadow.RunMethod("setOffsetY", Array As Object(offsetY))