Accessing JavaFX' StageHelper and ContextMenuContent in Jigsaw

Kevin Rushforth kevin.rushforth at oracle.com
Thu Nov 5 19:51:15 UTC 2015


The StageHelper class is deliberately not exposed for good reasons, 
since it's purpose is to provide internal access to non-public state.

We moved most of the skin classes to a publicly exported 
javafx.scene.control.skin package as part of JEP 253, but that didn't 
include ContextMenuContent.

Can you explain what you are trying to do with these classes? Perhaps 
there is an alternative? If this is a detailed JavaFX question, then I 
suggest asking it on openjfx-dev rather than jigsaw-dev.

-- Kevin


Rahman USTA wrote:
> Hi all;
>
> I'm trying Jigsaw build with my JavaFX project, everything is fine but with
> two exception.
>
> javac could not find/access
> com.sun.javafx.scene.control.skin.ContextMenuContent
> and com.sun.javafx.stage.StageHelper classes.
>
> Is it possible to use them or are there any alternatives for these classes.
>
> Thanks.
>
>   


More information about the jigsaw-dev mailing list