Hi everybody, I am trying to make my StackPane completely transparent with non transparent content. I have already tried to set a background color with rgb(255,255,255,0) to that pane, but it still having a white background and I can not find out why? I am using embed javafx to swing so I am setting a transparent scene to a JFXPanel like that:
img If enybody knows how to solve this issue, can give me a hand with it? Thanks in advance)))
I did some quick testing and drawing a JFXPanel over a Swing panel which has an opaque background works fine. Drawing it over a Swing panel which has a translucent background seems to double the underlying background color in the JFXPanel background (as you have in your image). I don't really have a solution to this. It may be a bug in the JFXPanel implementation, which you could log at http://bugreport.java.com.
Here is the test program I used:
Water proof donuts! Eat them while reading this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss