I'm creating a JavaFX stage with StageStyle.TRANSPARENT so I can fully customize the window. I've created my own shadow effect around the border of my window (see link) to mimic the shadow around default application windows in OS X/Win7.
However, when a user clicks on the shadow around the border, the JavaFX stage will gain focus, which is understandable since the shadow is in the bounds of the JavaFX stage. Is there a way to cause clicking on the shadow part to "click through" and focus on the application/icon behind the JavaFX window? (Mouse transparency won't help for this).
So basically, when I click where the arrow is pointing in the image below, I want to focus on the text editor behind the JavaFX stage.