Does JavaFX have a mouse transparency problem?
Randahl Fink Isaksen
randahl at rockit.dk
Mon Oct 1 04:53:31 PDT 2012
Wonderful… Thanks Scott! It works!
On Oct 1, 2012, at 13:23 , Scott Palmer <swpalmer at gmail.com> wrote:
> You could try using a Group for the top pane and turning off the mouse
> On 2012-10-01, at 7:01 AM, Randahl Fink Isaksen <randahl at rockit.dk> wrote:
>> I have two panes of components that I show directly on top of each other. In the bottom pane I have input controls like text fields and in the top pane I have floating stuff like tool tips that are shown on top of (in front of) the input controls.
>> To make this work I have set mouseTransparent to true for the top pane, so any clicks on that pane passes through to the input controls below (behind it). This works like a charm except I now want to make the tooltips clickable. It seems I cannot do that, since when the top pane is made mouse transparent all children of that pane are mouse transparent too, meaning my tooltips are mouse transparent.
>> I am thinking there's got to be a way I can work around this, but so far my experiments have not come to fruition.
>> Is it possible to have a transparent parent with non-transparent children, or is this a missing feature, or is there some other, better way?
More information about the openjfx-dev